标题:
[求助]
SimpleVrml编译出错
[打印本页]
作者:
echohenry2006
时间:
2011-5-8 23:08
标题:
SimpleVrml编译出错
下面的错误如何解决啊?
1>------ Build started: Project: simpleVRML, Configuration: Debug Win32 ------
1>Linking...
1>libARd.lib(arGetCode.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:ICF' specification
1>openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator)" ([email=__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@Vconst_iterator@01@0@Z]__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@Vconst_iterator@01@0@Z[/email]) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall openvrml::Vrml97Parser::stringValue(void)" ([email=?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email])
1>openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)const " ([email=__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ]__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ[/email]) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall openvrml::Vrml97Parser::stringValue(void)" ([email=?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email])
1>openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)const " ([email=__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ]__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ[/email]) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall openvrml::Vrml97Parser::stringValue(void)" ([email=?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]?stringValue@Vrml97Parser@openvrml@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email])
1>openvrml.lib(doc.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)const " ([email=__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ]__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AVconst_iterator@12@XZ[/email])
1>openvrml.lib(doc.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)" ([email=__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AViterator@12@XZ]__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AViterator@12@XZ[/email]) referenced in function "private: bool __thiscall openvrml::doc2::filename(char *,unsigned int)" ([email=?filename@doc2@openvrml@@AAE_NPADI@Z]?filename@doc2@openvrml@@AAE_NPADI@Z[/email])
1>libjpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol __iob
1>libpng.lib(pngerror.obj) : error LNK2001: unresolved external symbol __iob
1>libpng.lib(pngrutil.obj) : error LNK2019: unresolved external symbol __iob referenced in function _png_handle_pHYs
作者:
杯具的黑白日记
时间:
2011-5-17 18:19
libpng.lib那几个VRML的库需要重新编译,然后就没问题了
作者:
x68251
时间:
2011-5-27 10:40
解决链接错误:error LNK2001: 无法解析的外部符号 __iob
http://hi.baidu.com/yeyingxian/b ... 85cb32960a16e1.html
欢迎光临 ARToolKit中文论坛 (http://artoolkit.net/)
Powered by Discuz! 7.0.0