How hard is to compile the source to Multi-threaded Debug DL
Posted: Wed Sep 14, 2011 20:37
Hi
i have big opengl application that is compiled all of it in Multi-threaded Debug DLL (/MDd) mode in windows
now i notice that CEGUI is compiled as Multi-threaded Debug (/MTd) . when i static link CEGUI with my application
i get the famous linking error's
msvcprtd.lib(MSVCP90D.dll) : error LNK2005:
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
is there any other way to fix this other then compile the lib?
i have big opengl application that is compiled all of it in Multi-threaded Debug DLL (/MDd) mode in windows
now i notice that CEGUI is compiled as Multi-threaded Debug (/MTd) . when i static link CEGUI with my application
i get the famous linking error's
msvcprtd.lib(MSVCP90D.dll) : error LNK2005:
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
is there any other way to fix this other then compile the lib?