It sounds like you are having runtime library conflicts. Everything you compile with should use the same runtime library. For example if you compiled the lib with static link multithreaded, then don't use dynamic link multithreaded, etc. Sometimes you can get around it with the /NODEFAULTLIB but for me at least sometimes it doesn't work. Since I have the source code to all of my libraries I use I recompile for the target runtime. Maybe there is a way around it (esp if companies distribute only binaries), but I've been able to link against the same runtime, every time, so it's probably easier and safer that way. Jason Jonathan Roewen wrote:
Hi All,
MSVC then gave a bunch of linker errors, and suggested to add MSVCRT to the nodefaultlib setting, so I did that, and got less linker errors. All that is left is some thing to do with exception & string classes. Linker errors are all about multiply defined symbols.