Hello all,

I get the following linking errors when trying to compile my exe:

1>MSVCRT.lib(MSVCR100.dll) : error LNK2005: _tolower already defined in libcmt.lib(tolower.obj)
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 libcmt.lib(typinfo.obj)
1>MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info:perator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in libcmt.lib(typinfo.obj)
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
fatal error LNK1169: one or more multiply defined symbols found

I realize that this happens sometimes when trying to link libraries in that use different methods of code generation. All my dependencies are linked with /MT

Any idea why this can still happen?

Also, when I build in Debug mode using all /MTd it compiles, so this problem only exists in Release mode.

Thanks!
Ellay K.