Archived

This topic is now archived and is closed to further replies.

thedigga007

MSVCRT.lib, SDL, and Muli-threaded DLL

Recommended Posts

Ok, I was able to build an SDL/OpenGL tutorial last night after getting a MSVCRT.lib linking error when I edited the code generation section to "Mulit-Threaded DLL". Today, I tried a different tutorial and I made sure I changed the settings of the project again but this time I GOT the error and I have no idea why...
error LNK2005: _exit already defined in MSVCRT.lib(MSVCR71.dll)
 
any ideas?

Share this post


Link to post
Share on other sites
Does anyone know? I am at a complete loss...every site and forum (including SDL''s) says that this linking error is generated if you do not set the C/C++/CodeGeneration/runtime to multi-threaded dll. I have dont this and I still have this error....

Share this post


Link to post
Share on other sites
Project->Settings

Click on the "Link" tab and under the "Input" category put msvcrt.lib in the field labeled "Ignore libraries."

_.-|PsYcHoProg|-._




[edited by - PsYcHoPrOg on November 16, 2003 10:21:32 PM]

Share this post


Link to post
Share on other sites