MSVCRT.lib, SDL, and Muli-threaded DLL

Started by
1 comment, last by thedigga007 20 years, 5 months ago
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?
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....
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]
D:

This topic is closed to new replies.

Advertisement