I created a simple SDL application on vs2003.net, Whatever I use sdL VC6 or VC8, when linked the application, it will generate error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup.
I created a simple SDL application on vs2003.net, Whatever I use sdL VC6
or VC8, when linked the application, it will generate error LNK2019:
unresolved external symbol _main referenced in function _mainCRTStartup.
I created a simple SDL application on vs2003.net, Whatever I use sdL VC6
or VC8, when linked the application, it will generate error LNK2019:
unresolved external symbol _main referenced in function _mainCRTStartup.
I created a simple SDL application on vs2003.net, Whatever I use sdL VC6
or VC8, when linked the application, it will generate error LNK2019:
unresolved external symbol _main referenced in function _mainCRTStartup.
msvcrt.lib(MSVCR71.dll) : error LNK2005: _exit already defined in LIBCD.lib(crt0dat.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _fclose already defined in LIBCD.lib(fclose.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: __isctype already defined in LIBCD.lib(isctype.obj)
This is a C library mismatch. Make sure all projects you link to are
using the same C runtime library. (It’s listed under Code Generation
in the project properties)On Mon, Sep 28, 2009 at 8:47 PM, kundi <jiangjkd at 163.com> wrote:
msvcrt.lib(MSVCR71.dll) : error LNK2005: _exit already defined in
LIBCD.lib(crt0dat.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: _fclose already defined in
LIBCD.lib(fclose.obj)
msvcrt.lib(MSVCR71.dll) : error LNK2005: __isctype already defined in
LIBCD.lib(isctype.obj)