Hi, I use libjpeg lib and libpng lib in my application ... when I compile my application in debug mode .. it works fine ... But when I compile my application in release mode, I get the following link error ...
Error 41 error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in MSVCRT.lib(ti_inst.obj) F:\Work Projects\SnackCards XAML\SimpleGame\SimpleGame\LIBCMT.lib(typinfo.obj) SimpleGame Error 43 of LNK2005 error: "private: class type_info and __thiscall type_info :: operator = (class type_info const &)" (? 4type_info @@ AAEAAV0 @ ABV0 @@ Z) already defined in MSVCRT.lib (ti_inst. Obj) F: \ Work Projects \ SnackCards
Error 41 error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in MSVCRT.lib(ti_inst.obj) F:\Work Projects\SnackCards XAML\SimpleGame\SimpleGame\LIBCMT.lib(typinfo.obj) SimpleGame
Error 43 of LNK2005 error: "private: class type_info and __thiscall type_info :: operator = (class type_info const &)" (? 4type_info @@ AAEAAV0 @ ABV0 @@ Z) already defined in MSVCRT.lib (ti_inst. Obj) F: \ Work Projects \ SnackCards
Anyone have a suggestion about this error?
, C . . Libcmt - , msvcrt - .
,
C/C++->Code Generation->Runtime Library