Posted 02 May 2004 - 07:25 PM
error LNK2005: ... already defined in LIBC.lib
I just spent an eternity fighting with my compiler and getting the above error. I just figured I''d post the solution incase anyone else is experiencing the same problem.
The problem started when I moved from using the .DLL to using the static-link library supplied with the AngelScript download. That .LIB is compiled using the multi-threaded standard libs, while my project is single-threaded. To solve this, either switch your project to use the multi-threaded libs (in the Configuration Properties,C/C++,Code Generation tab) or recompile the AngelScript lib to use the single-threaded libs.
Andreas- Will compiling the library single-threaded cause any problems?
death to linker errors