查看: 4293|回复: 3

编译osgEarth求助

[复制链接]

该用户从未签到

发表于 2011-1-31 15:05:46 | 显示全部楼层 |阅读模式
到最后编译osgEarth时出错,折腾了我一晚上了,请大家帮忙看看问题在哪,谢谢
VS2008,编译项目: osgEarthSymbology,输出如下:
23>CssUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class osgEarth::Config const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV01@@Z]__imp_??0Config@osgEarth@@QAE@ABV01@@Z[/email]),该符号在函数 "public: static class osgEarth::Config __cdecl osgEarth::Symbology::CssUtils::readConfig(class std::basic_istream<char,struct std::char_traits<char> > &)" ([email=?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z]?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z[/email]) 中被引用
23>Query.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class osgEarth::Config const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV01@@Z]__imp_??0Config@osgEarth@@QAE@ABV01@@Z[/email])
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class osgEarth::Config const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV01@@Z]__imp_??0Config@osgEarth@@QAE@ABV01@@Z[/email])
23>CssUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::~Config(void)" ([email=__imp_??1Config@osgEarth@@QAE@XZ]__imp_??1Config@osgEarth@@QAE@XZ[/email]),该符号在函数 "public: static class osgEarth::Config __cdecl osgEarth::Symbology::CssUtils::readConfig(class std::basic_istream<char,struct std::char_traits<char> > &)" ([email=?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z]?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z[/email]) 中被引用
23>Query.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::~Config(void)" ([email=__imp_??1Config@osgEarth@@QAE@XZ]__imp_??1Config@osgEarth@@QAE@XZ[/email])
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::~Config(void)" ([email=__imp_??1Config@osgEarth@@QAE@XZ]__imp_??1Config@osgEarth@@QAE@XZ[/email])
23>CssUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class osgEarth::Config const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV12@@Z]__imp_?add@Config@osgEarth@@QAEXABV12@@Z[/email]),该符号在函数 "public: static class osgEarth::Config __cdecl osgEarth::Symbology::CssUtils::readConfig(class std::basic_istream<char,struct std::char_traits<char> > &)" ([email=?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z]?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z[/email]) 中被引用
23>Query.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class osgEarth::Config const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV12@@Z]__imp_?add@Config@osgEarth@@QAEXABV12@@Z[/email])
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class osgEarth::Config const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV12@@Z]__imp_?add@Config@osgEarth@@QAEXABV12@@Z[/email])
23>CssUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall osgEarth::Config::attr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_?attr@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z]__imp_?attr@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z[/email]),该符号在函数 "public: static class osgEarth::Config __cdecl osgEarth::Symbology::CssUtils::readConfig(class std::basic_istream<char,struct std::char_traits<char> > &)" ([email=?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z]?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall osgEarth::Config::attr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_?attr@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z]__imp_?attr@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z[/email])
23>CssUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email]),该符号在函数 "public: static class osgEarth::Config __cdecl osgEarth::Symbology::CssUtils::readConfig(class std::basic_istream<char,struct std::char_traits<char> > &)" ([email=?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z]?readConfig@CssUtils@Symbology@osgEarth@@SA?AVConfig@3@AAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z[/email]) 中被引用
23>Query.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email])
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_??0Config@osgEarth@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email])
23>Geometry.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Bounds::expandBy(double,double,double)" ([email=__imp_?expandBy@Bounds@osgEarth@@QAEXNNN@Z]__imp_?expandBy@Bounds@osgEarth@@QAEXNNN@Z[/email]),该符号在函数 "public: virtual class osgEarth::Bounds __thiscall osgEarth::Symbology::Geometry::getBounds(void)const " ([email=?getBounds@Geometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ]?getBounds@Geometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ[/email]) 中被引用
23>Geometry.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Bounds::Bounds(void)" ([email=__imp_??0Bounds@osgEarth@@QAE@XZ]__imp_??0Bounds@osgEarth@@QAE@XZ[/email]),该符号在函数 "public: virtual class osgEarth::Bounds __thiscall osgEarth::Symbology::Geometry::getBounds(void)const " ([email=?getBounds@Geometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ]?getBounds@Geometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ[/email]) 中被引用
23>Query.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Bounds::Bounds(void)" ([email=__imp_??0Bounds@osgEarth@@QAE@XZ]__imp_??0Bounds@osgEarth@@QAE@XZ[/email])
23>Geometry.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl osgEarth::notify(enum osg::NotifySeverity)" ([email=__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z]__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z[/email]),该符号在函数 "public: bool __thiscall osgEarth::Symbology::Geometry::buffer(double,class osg::ref_ptr<class osgEarth::Symbology::Geometry> &,class osgEarth::Symbology::BufferParameters const &)const " ([email=?buffer@Geometry@Symbology@osgEarth@@QBE_NNAAV?$ref_ptr@VGeometry@Symbology@osgEarth@@@osg@@ABVBufferParameters@23@@Z]?buffer@Geometry@Symbology@osgEarth@@QBE_NNAAV?$ref_ptr@VGeometry@Symbology@osgEarth@@@osg@@ABVBufferParameters@23@@Z[/email]) 中被引用
23>GeometryRasterizer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl osgEarth::notify(enum osg::NotifySeverity)" ([email=__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z]__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z[/email])
23>StencilVolumeNode.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl osgEarth::notify(enum osg::NotifySeverity)" ([email=__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z]__imp_?notify@osgEarth@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@W4NotifySeverity@osg@@@Z[/email])
23>Geometry.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) bool __cdecl osgEarth::isNotifyEnabled(enum osg::NotifySeverity)" ([email=__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z]__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z[/email]),该符号在函数 "public: bool __thiscall osgEarth::Symbology::Geometry::buffer(double,class osg::ref_ptr<class osgEarth::Symbology::Geometry> &,class osgEarth::Symbology::BufferParameters const &)const " ([email=?buffer@Geometry@Symbology@osgEarth@@QBE_NNAAV?$ref_ptr@VGeometry@Symbology@osgEarth@@@osg@@ABVBufferParameters@23@@Z]?buffer@Geometry@Symbology@osgEarth@@QBE_NNAAV?$ref_ptr@VGeometry@Symbology@osgEarth@@@osg@@ABVBufferParameters@23@@Z[/email]) 中被引用
23>GeometryRasterizer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) bool __cdecl osgEarth::isNotifyEnabled(enum osg::NotifySeverity)" ([email=__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z]__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z[/email])
23>StencilVolumeNode.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) bool __cdecl osgEarth::isNotifyEnabled(enum osg::NotifySeverity)" ([email=__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z]__imp_?isNotifyEnabled@osgEarth@@YA_NW4NotifySeverity@osg@@@Z[/email])
23>Geometry.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Bounds::expandBy(class osgEarth::Bounds const &)" ([email=__imp_?expandBy@Bounds@osgEarth@@QAEXABV12@@Z]__imp_?expandBy@Bounds@osgEarth@@QAEXABV12@@Z[/email]),该符号在函数 "public: virtual class osgEarth::Bounds __thiscall osgEarth::Symbology::MultiGeometry::getBounds(void)const " ([email=?getBounds@MultiGeometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ]?getBounds@MultiGeometry@Symbology@osgEarth@@UBE?AVBounds@3@XZ[/email]) 中被引用
23>ModelSymbolizer.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static enum osgEarth::HTTPClient::ResultCode __cdecl osgEarth::HTTPClient::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osg::ref_ptr<class osg::Node> &,class osgDB::ReaderWriter::Options const *,class osgEarth:rogressCallback *)" ([email=__imp_?readNodeFile@HTTPClient@osgEarth@@SA?AW4ResultCode@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$ref_ptr@VNode@osg@@@osg@@PBVOptions@ReaderWriter@osgDB@@PAVProgressCallback@2@@Z]__imp_?readNodeFile@HTTPClient@osgEarth@@SA?AW4ResultCode@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$ref_ptr@VNode@osg@@@osg@@PBVOptions@ReaderWriter@osgDB@@PAVProgressCallback@2@@Z[/email]),该符号在函数 "class osg::Node * __cdecl getNode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=?getNode@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]?getNode@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Bounds::Bounds(double,double,double,double)" ([email=__imp_??0Bounds@osgEarth@@QAE@NNNN@Z]__imp_??0Bounds@osgEarth@@QAE@NNNN@Z[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology:uery::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Config::empty(void)const " ([email=__imp_?empty@Config@osgEarth@@QBE_NXZ]__imp_?empty@Config@osgEarth@@QBE_NXZ[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology::Query::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class osgEarth::Config const & __thiscall osgEarth::Config::child(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?child@Config@osgEarth@@QBEABV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_?child@Config@osgEarth@@QBEABV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology::Query::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@Query@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osgEarth::Config const & __thiscall osgEarth::Config::child(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?child@Config@osgEarth@@QBEABV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_?child@Config@osgEarth@@QBEABV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email])
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: double __thiscall osg::BoundingBoxImpl<class osg::Vec3d>::yMax(void)const " ([email=__imp_?yMax@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ]__imp_?yMax@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Query::toConfig(void)const " ([email=?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: double __thiscall osg::BoundingBoxImpl<class osg::Vec3d>::xMax(void)const " ([email=__imp_?xMax@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ]__imp_?xMax@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Query::toConfig(void)const " ([email=?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: double __thiscall osg::BoundingBoxImpl<class osg::Vec3d>::yMin(void)const " ([email=__imp_?yMin@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ]__imp_?yMin@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Query::toConfig(void)const " ([email=?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z]__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Query::toConfig(void)const " ([email=?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z]__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z[/email])
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: double __thiscall osg::BoundingBoxImpl<class osg::Vec3d>::xMin(void)const " ([email=__imp_?xMin@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ]__imp_?xMin@?$BoundingBoxImpl@VVec3d@osg@@@osg@@QBENXZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Query::toConfig(void)const " ([email=?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Query@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall osgEarth::Config::value(void)const " ([email=__imp_?value@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?value@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email]),该符号在函数 "public: bool __thiscall osgEarth::Config::getIfSet<class std::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 &,struct osgEarth:ptional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > &)const " ([email=??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z]??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall osgEarth::Config::value(void)const " ([email=__imp_?value@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?value@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email])
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Config::hasChild(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?hasChild@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_?hasChild@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email]),该符号在函数 "public: bool __thiscall osgEarth::Config::getIfSet<class std::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 &,struct osgEarth::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > &)const " ([email=??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z]??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Config::hasChild(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?hasChild@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_?hasChild@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email])
23>Query.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall osgEarth::Config::attr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?attr@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z]__imp_?attr@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z[/email]),该符号在函数 "public: bool __thiscall osgEarth::Config::getIfSet<class std::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 &,struct osgEarth::optional<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > &)const " ([email=??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z]??$getIfSet@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAU?$optional@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@1@@Z[/email]) 中被引用
23>Style.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall osgEarth::Config::attr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?attr@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z]__imp_?attr@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z[/email])
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall osgEarth::MaskNode::~MaskNode(void)" ([email=__imp_??1MaskNode@osgEarth@@UAE@XZ]__imp_??1MaskNode@osgEarth@@UAE@XZ[/email]),该符号在函数 [email=__unwindfunclet$??0StencilVolumeNode@Symbology@osgEarth@@QAE@_N0@Z$0]__unwindfunclet$??0StencilVolumeNode@Symbology@osgEarth@@QAE@_N0@Z$0[/email] 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::MaskNode::MaskNode(void)" ([email=__imp_??0MaskNode@osgEarth@@QAE@XZ]__imp_??0MaskNode@osgEarth@@QAE@XZ[/email]),该符号在函数 "public: __thiscall osgEarth::Symbology::StencilVolumeNode::StencilVolumeNode(bool,bool)" ([email=??0StencilVolumeNode@Symbology@osgEarth@@QAE@_N0@Z]??0StencilVolumeNode@Symbology@osgEarth@@QAE@_N0@Z[/email]) 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::MaskNode::MaskNode(class osgEarth::MaskNode const &,class osg::CopyOp const &)" ([email=__imp_??0MaskNode@osgEarth@@QAE@ABV01@ABVCopyOp@osg@@@Z]__imp_??0MaskNode@osgEarth@@QAE@ABV01@ABVCopyOp@osg@@@Z[/email]),该符号在函数 "public: __thiscall osgEarth::Symbology::StencilVolumeNode::StencilVolumeNode(class osgEarth::Symbology::StencilVolumeNode const &,class osg::CopyOp const &)" ([email=??0StencilVolumeNode@Symbology@osgEarth@@QAE@ABV012@ABVCopyOp@osg@@@Z]??0StencilVolumeNode@Symbology@osgEarth@@QAE@ABV012@ABVCopyOp@osg@@@Z[/email]) 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Capabilities::supportsTwoSidedStencil(void)const " ([email=__imp_?supportsTwoSidedStencil@Capabilities@osgEarth@@QBE_NXZ]__imp_?supportsTwoSidedStencil@Capabilities@osgEarth@@QBE_NXZ[/email]),该符号在函数 "protected: void __thiscall osgEarth::Symbology::StencilVolumeNode::init(void)" ([email=?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ]?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ[/email]) 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Capabilities::supportsStencilWrap(void)const " ([email=__imp_?supportsStencilWrap@Capabilities@osgEarth@@QBE_NXZ]__imp_?supportsStencilWrap@Capabilities@osgEarth@@QBE_NXZ[/email]),该符号在函数 "protected: void __thiscall osgEarth::Symbology::StencilVolumeNode::init(void)" ([email=?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ]?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ[/email]) 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class osgEarth::Capabilities const & __thiscall osgEarth::Registry::getCapabilities(void)const " ([email=__imp_?getCapabilities@Registry@osgEarth@@QBEABVCapabilities@2@XZ]__imp_?getCapabilities@Registry@osgEarth@@QBEABVCapabilities@2@XZ[/email]),该符号在函数 "protected: void __thiscall osgEarth::Symbology::StencilVolumeNode::init(void)" ([email=?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ]?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ[/email]) 中被引用
23>StencilVolumeNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class osgEarth::Registry * __cdecl osgEarth::Registry::instance(bool)" ([email=__imp_?instance@Registry@osgEarth@@SAPAV12@_N@Z]__imp_?instance@Registry@osgEarth@@SAPAV12@_N@Z[/email]),该符号在函数 "protected: void __thiscall osgEarth::Symbology::StencilVolumeNode::init(void)" ([email=?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ]?init@StencilVolumeNode@Symbology@osgEarth@@IAEXXZ[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::list<class osgEarth::Config,class std::allocator<class osgEarth::Config> > const __thiscall osgEarth::Config::children(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?children@Config@osgEarth@@QBE?BV?$list@VConfig@osgEarth@@V?$allocator@VConfig@osgEarth@@@std@@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z]__imp_?children@Config@osgEarth@@QBE?BV?$list@VConfig@osgEarth@@V?$allocator@VConfig@osgEarth@@@std@@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z[/email]),该符号在函数 "public: void __thiscall osgEarth::Symbology::Style::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z]?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall osgEarth::Config::key(void)const " ([email=__imp_?key@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?key@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email]),该符号在函数 "public: void __thiscall osgEarth::Symbology::Style::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z]?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z[/email]) 中被引用
23>SLD.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall osgEarth::Config::key(void)const " ([email=__imp_?key@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?key@Config@osgEarth@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email])
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall osgEarth::Config::value(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?value@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z]__imp_?value@Config@osgEarth@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@@Z[/email]),该符号在函数 "public: void __thiscall osgEarth::Symbology::Style::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z]?fromConfig@Style@Symbology@osgEarth@@QAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall osgEarth::Config::value(void)" ([email=__imp_?value@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?value@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::Style::toConfig(void)const " ([email=?toConfig@Style@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@Style@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgEarth::Config::add(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osgEarth::Config const &)" ([email=__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV12@@Z]__imp_?add@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV12@@Z[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::StyleCatalog::toConfig(void)const " ([email=?toConfig@StyleCatalog@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@StyleCatalog@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall osgEarth::Config::Config(void)" ([email=__imp_??0Config@osgEarth@@QAE@XZ]__imp_??0Config@osgEarth@@QAE@XZ[/email]),该符号在函数 "public: virtual class osgEarth::Config __thiscall osgEarth::Symbology::StyleCatalog::toConfig(void)const " ([email=?toConfig@StyleCatalog@Symbology@osgEarth@@UBE?AVConfig@3@XZ]?toConfig@StyleCatalog@Symbology@osgEarth@@UBE?AVConfig@3@XZ[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::list<class osgEarth::Config,class std::allocator<class osgEarth::Config> > & __thiscall osgEarth::Config::children(void)" ([email=__imp_?children@Config@osgEarth@@QAEAAV?$list@VConfig@osgEarth@@V?$allocator@VConfig@osgEarth@@@std@@@std@@XZ]__imp_?children@Config@osgEarth@@QAEAAV?$list@VConfig@osgEarth@@V?$allocator@VConfig@osgEarth@@@std@@@std@@XZ[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology::StyleCatalog::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static enum osgEarth::HTTPClient::ResultCode __cdecl osgEarth::HTTPClient::readString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class osgEarth::ProgressCallback *)" ([email=__imp_?readString@HTTPClient@osgEarth@@SA?AW4ResultCode@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV45@PAVProgressCallback@2@@Z]__imp_?readString@HTTPClient@osgEarth@@SA?AW4ResultCode@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV45@PAVProgressCallback@2@@Z[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology::StyleCatalog::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __thiscall osgEarth::Config::hasValue(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ([email=__imp_?hasValue@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z]__imp_?hasValue@Config@osgEarth@@QBE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z[/email]),该符号在函数 "public: virtual void __thiscall osgEarth::Symbology::StyleCatalog::fromConfig(class osgEarth::Config const &)" ([email=?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z]?fromConfig@StyleCatalog@Symbology@osgEarth@@UAEXABVConfig@3@@Z[/email]) 中被引用
23>Style.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall osgEarth::Config::key(void)" ([email=__imp_?key@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ]__imp_?key@Config@osgEarth@@QAEAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ[/email]),该符号在函数 "public: void __thiscall osgEarth::Config::addObjIfSet<class osgEarth::Symbology::Query>(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,struct osgEarth::optional<class osgEarth::Symbology::Query> const &)" ([email=??$addObjIfSet@VQuery@Symbology@osgEarth@@@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABU?$optional@VQuery@Symbology@osgEarth@@@1@@Z]??$addObjIfSet@VQuery@Symbology@osgEarth@@@Config@osgEarth@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABU?$optional@VQuery@Symbology@osgEarth@@@1@@Z[/email]) 中被引用
23>SLD.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: struct osgEarth::Properties const & __thiscall osgEarth::Config::attrs(void)const " ([email=__imp_?attrs@Config@osgEarth@@QBEABUProperties@2@XZ]__imp_?attrs@Config@osgEarth@@QBEABUProperties@2@XZ[/email]),该符号在函数 "public: static bool __cdecl osgEarth::Symbology::SLDReader::readStyleFromCSSParams(class osgEarth::Config const &,class osgEarth::Symbology::Style &)" ([email=?readStyleFromCSSParams@SLDReader@Symbology@osgEarth@@SA_NABVConfig@3@AAVStyle@23@@Z]?readStyleFromCSSParams@SLDReader@Symbology@osgEarth@@SA_NABVConfig@3@AAVStyle@23@@Z[/email]) 中被引用
23>E:\osg\osgearth\lib\Debug\osgEarthSymbologyd.dll : fatal error LNK1120: 40 个无法解析的外部命令

该用户从未签到

发表于 2011-2-1 09:21:21 | 显示全部楼层
请给出您的编译过程,看起来工程配置明显错了

该用户从未签到

 楼主| 发表于 2011-2-1 11:59:55 | 显示全部楼层
2# array
谢谢,确实错了,重新CMAKE,再用VS2008编译了一遍,42个通过,0个跳过,和教程中讲的不同,不过编译是通过了,但是编译完的exe无法运行,提示如下:
tt.jpeg

该用户从未签到

发表于 2011-2-2 23:37:36 | 显示全部楼层
请您配置一下您的数据等相关目录路径,应该是不会有问题的~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表