• Advertisement

Archived

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

MSVCRT.lib, SDL, and Muli-threaded DLL

This topic is 5211 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement