LIBC.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCR90.dll)
I am getting tons of errors like the one above because library A needs LIBC.lib while library B needs MSVCRT.dll. If I use /NODEFAULTLIB:lib, one of the libraries fails to link. Is there an easy way to make them play nice with each other? Like some command line option that forces both libraries to use MSVCRT.lib for common functions while only resorting to LIBC.lib for functions unavailable in MSVCRT.lib?
Seems like one library was compiled with "multithreaded" (static linking to C runtime) and another was with "multithreaded DLL" (dynamic linking to C runtime via msvcr90.dll/msvcp90.dll). All of them have to match.
The Model M is not for the faint of heart. You either like them or hate them.
Gerbils unite! Fold for UnitedGerbilNation, team 2630.