编译VPB0.99159.com:.12时出现这种错误,MFC嵌入CE

作者: 编程  发布:2019-12-28

正在创建库E:/OSG/VS2010/lib/osgDB.lib和对象E:/OSG/VS2010/lib/osgDB.expCompressors.obj:errorLNK2019:无法解析的外部符号deflateEnd,该符号在函数"public:virtualbool__cdeclZLibCompressor::compress(classstd::basic_ostreamchar,structstd::char_traitschar,classstd::basic_stringchar,structstd::char_traitschar,classstd::allocatorcharconst)"(?compress@ZLibCompressor@@UEAA_NAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z)中被引用E:OSGVS2010binosg100-osgDB.dll:fatalerrorLNK1120:6个无法解析的外部命令

MFC嵌入CEF内核编译错误我用的是VS2010,cef的版本是cef_binary_3.2743.1442.ge29124d_windows32下面是错误提示:errorLNK2019:无法解析的外部符号"__declspec(dllimport)bool__cdeclstd::uncaught_exception(void)"(__imp_?uncaught_exception@std@@YA_NXZ),该符号在函数"public:__thiscallstd::basic_ostreamchar,structstd::char_traitschar::sentry::~sentry(void)"(??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)中被引用1E:cppfileCEFDemoDebugCEFDemo.exe:fatalerrorLNK1120:1个无法解析的外部命令还报了一些警告:warningLNK4217:本地定义的符号?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ(public:classstd::basic_ostreamchar,structstd::char_traitschar__thiscallstd::basic_ostreamchar,structstd::char_traitschar::flush(void))在函数"public:__thiscallstd::basic_ostreamchar,structstd::char_traitschar::sentry::sentry(classstd::basic_ostreamchar,structstd::char_traitschar)"(??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)中导入1CefBrowserEventHandler.obj:warningLNK4217:本地定义的符号?tie@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEPAV?$basic_ostream@DU?$char_traits@D@std@@@2@XZ(public:classstd::basic_ostreamchar,structstd::char_traitschar*__thiscallstd::basic_ioschar,structstd::char_traitschar::tie(void)const)在函数"public:__thiscallstd::basic_ostreamchar,structstd::char_traitschar::sentry::sentry(classstd::basic_ostreamchar,structstd::char_traitschar)"(??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)中导入1CefBrowserEventHandler.obj:warningLNK4217:本地定义的符号?good@ios_base@std@@QBE_NXZ(public:bool__thiscallstd::ios_base::good(void)const)在函数"public:__thiscallstd::basic_ostreamchar,structstd::char_traitschar::sentry::sentry(classstd::basic_ostreamchar,structstd::char_traitschar)"(??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)中导入1CefBrowserEventHandler.obj:warningLNK4217:本地定义的符号?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ(public:void__thiscallstd::basic_ostreamchar,structstd::char_traitschar::_Osfx(void))在函数"public:__thiscallstd::basic_ostreamchar,structstd::char_traitschar::sentry::~sentry(void)"(??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)中导入1CefBrowserEventHandler.obj:warningLNK4217:本地定义的符号??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ(protected:__thiscallstd::basic_streambufchar,structstd::char_traitschar::basic_streambufchar,structstd::char_traitschar(void))在函数"public:__thiscallstd::basic_stringbufchar,structstd::char_traitschar,classstd::allocatorchar::basic_stringbufchar,structstd::char_traitschar,classstd::allocatorchar(int)"(??0?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z)中导入

用VS2012编译VPB报错lnk2001 5C
编译VPB0.9.12时出现这种错误:
49 error LNK2005: "public: void __thiscall std::basic_ofstream >::`vbase destructor'" (??_D?$basic_ofstream@DU?$char_traits@D@std@@@std@@QAEXXZ) already defined in SpatialProperties.obj D:OSGVPBVirtualPlanetBuilder-0.9.12buildsrcvpbosgDB.lib(osg80-osgDB.dll) vpb
50 error LNK2001: unresolved external symbol _VSIFree D:OSGVPBVirtualPlanetBuilder-0.9.12buildsrcvpbSystem.obj vpb
51 error LNK2001: unresolved external symbol _VSIFree D:OSGVPBVirtualPlanetBuilder-0.9.12buildsrcvpbTextureUtils.obj vpb
105 error LNK2019: unresolved external symbol _CPLStrdup referenced in function "public: class CPLStringList & __thiscall CPLStringList::InsertString(int,char const *)" (?InsertString@CPLStringList@@QAEAAV1@HPBD@Z) D:OSGVPBVirtualPlanetBuilder-0.9.12buildsrcvpbBuildOptions.obj vpb
怎么办,好多方法都试了没有用啊,急

antlr.lib(Parser.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) bool cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)" (imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z),该符号在函数 ehhandler$??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z 中被引用
5>openvrml.lib(browser.obj) : error LNK2001: 无法解析的外部符号 "
declspec(dllimport) bool cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)" (imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z)
5>openvrml.lib(script.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) bool cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)" (imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z)
5>openvrml.lib(vrml97node.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) bool cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)" (imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z)
5>openvrml.lib : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) bool cdecl std::operator==,class std::allocator >(class std::basic_string,class std::allocator > const &,char const *)" (imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z)

ARToolKit-2.72.1 + OpenVRML-0.14.3编译simpleVRML链接错误
ARToolKit-2.72.1 + OpenVRML-0.14.3 在VS2010下编译运行simpleVRML链接错误

本文由9159.com发布于编程,转载请注明出处:编译VPB0.99159.com:.12时出现这种错误,MFC嵌入CE

关键词: