Kay wrote:
Hi, All:
I have to use two packages from other people. One uses LIBCD.lib, one
has to ignore LIBCD.lib. So now I can't build successfully. Any idea
what I should do?
Get them to send you builds of their libraries that are compatible.
LIBC.LIB is the single-threaded, staticly-linked runtime library.
LIBCD.LIB is the debug single-threaded, statically-linked runtime library.
So, since you have to both use and ignore libcd.lib, you have a mixture of a
debug single-threaded build and something else.
If the libraries that you're linking are truly independent of the runtime
library version (i.e. they'll work correctly when linked against any of the
6 different runtime libraries), then they should be compiled with /Zl so
that they don't specify a default runtime library.
-cd