Original Post
I suck at knowing how linkers work. I gather that this problem, or variants of it, are relatively common, but I don't know how to deal with it. I'm working on a game which makes use of several external libraries (OpenGL, GLUI, jpeg, audiere, and Box2D), and I've been trying to switch the base code to manage the window and input from freeglut to SDL. I've got everything compiling properly after the switch to SDL, but I've got the following linker errors and I don't know how to fix them: Any ideas?
1>msvcrt.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
1>msvcrt.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMTD.lib(typinfo.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _exit already defined in LIBCMTD.lib(crt0dat.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _strrchr already defined in LIBCMTD.lib(strrchr.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _fprintf already defined in LIBCMTD.lib(fprintf.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: _fclose already defined in LIBCMTD.lib(fclose.obj)
1>msvcrt.lib(MSVCR90.dll) : error LNK2005: __isctype already defined in LIBCMTD.lib(isctype.obj)
1>LIBCMTD.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library