|
编译osgbullet时出现了下面的问题,请编译过osgbullet的大侠点拨点拨,多谢了
1> 正在创建库 D:\osgBullet_01_01_00\bin\Debug\osgbBulletd.lib 和对象 D:\osgBullet_01_01_00\bin\Debug\osgbBulletd.exp
1>CollisionShapes.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &,double &)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAN@Z)
1>CollisionShapes.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBENXZ)
1>CollisionShapes.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall btCollisionShape::getContactBreakingThreshold(double)const " (?getContactBreakingThreshold@btCollisionShape@@UBENN@Z)
1>CollisionShapes.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall btSphereShape::calculateLocalInertia(double,class btVector3 &)const " (?calculateLocalInertia@btSphereShape@@UBEXNAAVbtVector3@@@Z)
1>CollisionShapes.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall btBoxShape::calculateLocalInertia(double,class btVector3 &)const " (?calculateLocalInertia@btBoxShape@@UBEXNAAVbtVector3@@@Z)
1>CollisionShapes.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall btConvexHullShape::btConvexHullShape(double const *,int,int)" (??0btConvexHullShape@@QAE@PBNHH@Z),该符号在函数 "class btConvexHullShape * __cdecl osgbBullet::btConvexHullCollisionShapeFromOSG(class osg::Node *)" (?btConvexHullCollisionShapeFromOSG@osgbBullet@@YAPAVbtConvexHullShape@@PAVNode@osg@@@Z) 中被引用
1>CollisionShapes.obj : error LNK2019: 无法解析的外部符号 "public: bool __thiscall btShapeHull::buildHull(double)" (?buildHull@btShapeHull@@QAE_NN@Z),该符号在函数 "class osg::Node * __cdecl osgbBullet:sgNodeFromBtCollisionShape(class btConvexHullShape const *,class btTransform const &)" (?osgNodeFromBtCollisionShape@osgbBullet@@YAPAVNode@osg@@PBVbtConvexHullShape@@ABVbtTransform@@@Z) 中被引用
1>CollisionShapes.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall btStaticPlaneShape::btStaticPlaneShape(class btVector3 const &,double)" (??0btStaticPlaneShape@@QAE@ABVbtVector3@@N@Z),该符号在函数 "class osg::Node * __cdecl osgbBullet::generateGroundPlane(class osg::Vec4f const &,class btDynamicsWorld *,class btRigidBody * *)" (?generateGroundPlane@osgbBullet@@YAPAVNode@osg@@ABVVec4f@3@PAVbtDynamicsWorld@@PAPAVbtRigidBody@@@Z) 中被引用
1>MotionState.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall osgwTools::AbsoluteModelTransform::setMatrix(class osg::Matrixd const &)" (__imp_?setMatrix@AbsoluteModelTransform@osgwTools@@QAEXABVMatrixd@osg@@@Z),该符号在函数 "public: void __thiscall osgbBullet::MotionState::setWorldTransformInternal(class btTransform const &)" (?setWorldTransformInternal@MotionState@osgbBullet@@QAEXABVbtTransform@@@Z) 中被引用
1>hysicsState.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall osgwTools::RefID::str(void)const " (__imp_?str@RefID@osgwTools@@QBEABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ),该符号在函数 "public: void __thiscall osgbBullet:hysicsState::addPhysicsData(class osgwTools::RefID const *,class osgbBullet::PhysicsData *)" (?addPhysicsData@PhysicsState@osgbBullet@@QAEXPBVRefID@osgwTools@@PAVPhysicsData@2@@Z) 中被引用
1>D:\osgBullet_01_01_00\bin\Debug\osgbBulletd.dll : fatal error LNK1120: 10 个无法解析的外部命令
1>生成日志保存在“file://d:\osgBullet_01_01_00\src\osgbBullet\osgbBullet.dir\Debug\BuildLog.htm”
1>Lib osgbBullet - 11 个错误,11 个警告 |
|