我从VS2008转换一个项目,VS2010并得到了链接错误性病:ifstream的/ ofstream的的std :: iostream的链接错误VS2010 RC1
error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall std::basic_ofstream<char,struct std::char_traits<char> >::is_open(void)const " ([email protected][email protected][email protected]@[email protected]@@[email protected]@QBE_NXZ)
生成静态(/ MT)或DLL(/ MD)与unicode或标准和释放/调试给出了相同的错误。 手动将libcpmtd.lib(静态)或msvcprtd.lib(dll)添加到链接程序没有帮助。
有没有其他人看到过这个?
谢谢你希望避免这种情况 - 这是一个复杂的项目 – 2010-03-16 14:21:35