LNK2005 error: _exit is already defined in msvcrt.lib (MSVCR90.dll) _LIBCMTD.lib?

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

Anyone have a suggestion about this error?

+5
source share
1 answer

, C . . Libcmt - , msvcrt - .

,

C/C++->Code Generation->Runtime Library
+7

All Articles