查看: 2204|回复: 2

osgearth出现连接错误

[复制链接]

该用户从未签到

发表于 2012-12-18 11:17:34 | 显示全部楼层 |阅读模式
我使用的osg版本为现在官方最新版(刚从svn上sheckout的,看不出究竟是那个版本,但至少在3.0以上),osgearth版本为2.3,编译环境为vs2010。在编译的osgearth的时候出现了如下问题:


2>------ 已启动生成: 项目: osgEarth, 配置: Release Win32 ------
。。。
。。。
。。。
2>     正在创建库 F:/osg/earth/osgearth/build/lib/Release/osgEarth.lib 和对象 F:/osg/earth/osgearth/build/lib/Release/osgEarth.exp
2>TerrainEngineNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg:OD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>TextureCompositor.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ModelSource.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>NodeUtils.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2019: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ),该符号在函数 "public: __thiscall osgEarth::TerrainPatch::TerrainPatch(class osgEarth::TerrainPatch const &)" (??0TerrainPatch@osgEarth@@QAE@ABV01@@Z) 中被引用
2>OverlayNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapInfo.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MaskLayer.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ModelLayer.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ElevationQuery.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Map.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapCallback.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapFrame.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DepthOffset.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrapeableNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrapingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>CacheSeed.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampableNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingBinTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::LOD::computeBound(void)const " (?computeBound@LOD@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>SpatialReference.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>TerrainEngineNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>TextureCompositor.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ModelLayer.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ModelSource.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>NodeUtils.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapInfo.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MaskLayer.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MaskNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>FadeEffect.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Map.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapCallback.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapFrame.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrapingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrawInstanced.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ElevationLOD.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ElevationQuery.obj : error LNK2019: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ),该符号在函数 __ehhandler$?construct@?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$ref_ptr@VReferenced@osg@@@osg@@@std@@@std@@QAEXPAU?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$ref_ptr@VReferenced@osg@@@osg@@@2@$$QAU32@@Z 中被引用
2>CullingUtils.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DepthOffset.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrapeableNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>CacheSeed.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampableNode.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingBinTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampableNode.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (__imp_?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ),该符号在函数 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osgEarth::ClampableNode::computeBound(void)const " (?computeBound@ClampableNode@osgEarth@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@osg@@XZ) 中被引用
2>DepthOffset.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (__imp_?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>TerrainEngineNode.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Group::computeBound(void)const " (__imp_?computeBound@Group@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Transform::computeBound(void)const " (?computeBound@Transform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingBinTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Transform::computeBound(void)const " (?computeBound@Transform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Transform::computeBound(void)const " (?computeBound@Transform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>DrapingTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Transform::computeBound(void)const " (?computeBound@Transform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>ClampingBinTechnique.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::AutoTransform::computeBound(void)const " (?computeBound@AutoTransform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::AutoTransform::computeBound(void)const " (?computeBound@AutoTransform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::AutoTransform::computeBound(void)const " (?computeBound@AutoTransform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Utils.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::AutoTransform::computeBound(void)const " (?computeBound@AutoTransform@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Utils.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>CullingUtils.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ),该符号在函数 "public: virtual void __thiscall osgEarth::CullNodeByEllipsoid:perator()(class osg::Node *,class osg::NodeVisitor *)" (??RCullNodeByEllipsoid@osgEarth@@UAEXPAVNode@osg@@PAVNodeVisitor@3@@Z) 中被引用
2>DrawInstanced.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>FadeEffect.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>MapNode.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingSphereImpl<class osg::Vec3d> const & __thiscall osg::Node::getBound(void)const " (__imp_?getBound@Node@osg@@QBEABV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Geode::computeBound(void)const " (?computeBound@Geode@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingSphereImpl<class osg::Vec3d> __thiscall osg::Geode::computeBound(void)const " (?computeBound@Geode@osg@@UBE?AV?$BoundingSphereImpl@VVec3d@osg@@@2@XZ)
2>Draggers.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingBoxImpl<class osg::Vec3d> __thiscall osg::ShapeDrawable::computeBound(void)const " (?computeBound@ShapeDrawable@osg@@UBE?AV?$BoundingBoxImpl@VVec3d@osg@@@2@XZ)
2>OverlayDecorator.obj : error LNK2001: 无法解析的外部符号 "public: virtual class osg::BoundingBoxImpl<class osg::Vec3d> __thiscall osg::ShapeDrawable::computeBound(void)const " (?computeBound@ShapeDrawable@osg@@UBE?AV?$BoundingBoxImpl@VVec3d@osg@@@2@XZ)
2>DPLineSegmentIntersector.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) protected: bool __thiscall osgUtil::LineSegmentIntersector::intersectAndClip(class osg::Vec3d &,class osg::Vec3d &,class osg::BoundingBoxImpl<class osg::Vec3d> const &)" (__imp_?intersectAndClip@LineSegmentIntersector@osgUtil@@IAE_NAAVVec3d@osg@@0ABV?$BoundingBoxImpl@VVec3d@osg@@@4@@Z),该符号在函数 "public: virtual void __thiscall osgEarth:PLineSegmentIntersector::intersect(class osgUtil::IntersectionVisitor &,class osg::Drawable *)" (?intersect@DPLineSegmentIntersector@osgEarth@@UAEXAAVIntersectionVisitor@osgUtil@@PAVDrawable@osg@@@Z) 中被引用
2>DPLineSegmentIntersector.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingBoxImpl<class osg::Vec3d> const & __thiscall osg::Drawable::getBound(void)const " (__imp_?getBound@Drawable@osg@@QBEABV?$BoundingBoxImpl@VVec3d@osg@@@2@XZ),该符号在函数 "public: virtual void __thiscall osgEarth::DPLineSegmentIntersector::intersect(class osgUtil::IntersectionVisitor &,class osg::Drawable *)" (?intersect@DPLineSegmentIntersector@osgEarth@@UAEXAAVIntersectionVisitor@osgUtil@@PAVDrawable@osg@@@Z) 中被引用
2>FadeEffect.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: float __thiscall osg::CullStack::clampedPixelSize(class osg::BoundingSphereImpl<class osg::Vec3d> const &)const " (__imp_?clampedPixelSize@CullStack@osg@@QBEMABV?$BoundingSphereImpl@VVec3d@osg@@@2@@Z),该符号在函数 "public: virtual void __thiscall osgEarth::FadeLOD::traverse(class osg::NodeVisitor &)" (?traverse@FadeLOD@osgEarth@@UAEXAAVNodeVisitor@osg@@@Z) 中被引用
2>OverlayDecorator.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class osg::BoundingBoxImpl<class osg::Vec3d> __thiscall osgShadow::ConvexPolyhedron::computeBoundingBox(class osg::Matrixd const &)const " (__imp_?computeBoundingBox@ConvexPolyhedron@osgShadow@@QBE?AV?$BoundingBoxImpl@VVec3d@osg@@@osg@@ABVMatrixd@4@@Z),该符号在函数 "private: void __thiscall osgEarth::OverlayDecorator::cullTerrainAndCalculateRTTParams(class osgUtil::CullVisitor *,struct osgEarth::OverlayDecorator:erViewData &)" (?cullTerrainAndCalculateRTTParams@OverlayDecorator@osgEarth@@AAEXPAVCullVisitor@osgUtil@@AAUPerViewData@12@@Z) 中被引用
2>OverlayDecorator.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osg::Polytope::setToBoundingBox(class osg::BoundingBoxImpl<class osg::Vec3d> const &)" (__imp_?setToBoundingBox@Polytope@osg@@QAEXABV?$BoundingBoxImpl@VVec3d@osg@@@2@@Z),该符号在函数 "private: void __thiscall osgEarth::OverlayDecorator::cullTerrainAndCalculateRTTParams(class osgUtil::CullVisitor *,struct osgEarth::OverlayDecorator::PerViewData &)" (?cullTerrainAndCalculateRTTParams@OverlayDecorator@osgEarth@@AAEXPAVCullVisitor@osgUtil@@AAUPerViewData@12@@Z) 中被引用
2>F:\osg\earth\osgearth\build\lib\Release\osgEarth.dll : fatal error LNK1120: 13 个无法解析的外部命令

感觉错误很明显,但就是解决不了。我知道是没有找到相应的osg库,但是该添加的环境变量,该在vs2010中包含的库也都包含了。难道是版本没有吗?没道理啊,我看论坛已经有人发布了跟我配置一样的编译包了,为什么我这就不行呢~??求各位路过发表一下看法,看是哪里出错了~~谢谢

该用户从未签到

发表于 2012-12-27 09:08:57 | 显示全部楼层
这只能是您没有在依赖库中添加osg.lib等库

该用户从未签到

 楼主| 发表于 2012-12-27 17:39:51 | 显示全部楼层
array 发表于 2012-12-27 09:08
这只能是您没有在依赖库中添加osg.lib等库

哇~array你好~
这个问题我已经解决了~
是我当时编译环境有vs2010和cygwin两套工具,我怀疑是因为在vs2010编译的时候那个地方调用了cygwin的工具导致的。
后来我换了台电脑就没有问题了~~

array再见~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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