Error in COmpilation of VC++ Code
-
Hello Ima developing a VC++ applictaion .When i try to build a applicatin that is statically linked to MFC ,it throws me this error error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmt.lib(typinfo.obj) Can somebody help me how to fix this error ?:) Cause is my effort; Effect is God's effort
-
Hello Ima developing a VC++ applictaion .When i try to build a applicatin that is statically linked to MFC ,it throws me this error error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in libcmt.lib(typinfo.obj) Can somebody help me how to fix this error ?:) Cause is my effort; Effect is God's effort
You will probably have to change your link options in the project settings. I can remember there is a /NODEFAULTLIB keyword that you can set in order to avoid linking with duplicate implementation. Also, you might search for your error code in the help index which will tell you a lot...
-
You will probably have to change your link options in the project settings. I can remember there is a /NODEFAULTLIB keyword that you can set in order to avoid linking with duplicate implementation. Also, you might search for your error code in the help index which will tell you a lot...
i think u r using single thread run time library in project settings