我在编译项目时出错。 我试图链接到我在Windows上使用visual studio的库。C++链接问题
当试图创建obkect(新),我收到以下错误:
Error 2 error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]) already defined in RMLibV053.lib(Inifile.obj) msvcprtd.lib
我用的#ifndef 我用
您是否修改了编译器路径或添加了额外的库? – 2009-08-06 13:07:52
是的,我添加了路径。 – 2009-08-06 13:15:14