I'm having trouble compiling version 0.43.0 on Debian:
Code: Select all
moni@moni-debian:~/openmw/build$ make -j`getconf _NPROCESSORS_ONLN`
[ 0%] Built target local_tinyxml
[ 0%] Built target osg-ffmpeg-videoplayer
[ 1%] Built target osgQt
-- OpenMW version 0.43.0
[ 1%] Built target git-version
[ 2%] Built target oics
[ 24%] Built target components
[ 25%] Built target esmtool
[ 25%] Built target bsatool
[ 25%] Built target openmw-iniimporter
[ 28%] Built target openmw-essimporter
[ 31%] Built target openmw-launcher
[ 36%] Built target openmw-wizard
[ 36%] Linking CXX executable ../../openmw
[ 78%] Built target openmw-cs
CMakeFiles/openmw.dir/mwphysics/physicssystem.cpp.o: In function `MWPhysics::PhysicsSystem::castSphere(osg::Vec3f const&, osg::Vec3f const&, float)':
/home/moni/openmw/apps/openmw/mwphysics/physicssystem.cpp:1016: undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) const'
CMakeFiles/openmw.dir/mwphysics/physicssystem.cpp.o: In function `MWPhysics::PhysicsSystem::updateWater()':
/home/moni/openmw/apps/openmw/mwphysics/physicssystem.cpp:1546: undefined reference to `btStaticPlaneShape::btStaticPlaneShape(btVector3 const&, float)'
CMakeFiles/openmw.dir/mwphysics/physicssystem.cpp.o: In function `MWPhysics::PhysicsSystem::getHitContact(MWWorld::ConstPtr const&, osg::Vec3f const&, osg::Quat const&, float, std::vector<MWWorld::Ptr, std::allocator<MWWorld::Ptr> >)':
/home/moni/openmw/apps/openmw/mwphysics/physicssystem.cpp:853: undefined reference to `btConeShape::btConeShape(float, float)'
CMakeFiles/openmw.dir/mwphysics/physicssystem.cpp.o: In function `MWPhysics::HeightField::HeightField(float const*, int, int, float, float, float, float, osg::Object const*)':
/home/moni/openmw/apps/openmw/mwphysics/physicssystem.cpp:519: undefined reference to `btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, float, float, float, int, PHY_ScalarType, bool)'
CMakeFiles/openmw.dir/mwphysics/trace.cpp.o: In function `MWPhysics::ActorTracer::doTrace(btCollisionObject const*, osg::Vec3f const&, osg::Vec3f const&, btCollisionWorld const*)':
/home/moni/openmw/apps/openmw/mwphysics/trace.cpp:71: undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) const'
CMakeFiles/openmw.dir/mwphysics/trace.cpp.o: In function `MWPhysics::ActorTracer::findGround(MWPhysics::Actor const*, osg::Vec3f const&, osg::Vec3f const&, btCollisionWorld const*)':
/home/moni/openmw/apps/openmw/mwphysics/trace.cpp:108: undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, float) const'
CMakeFiles/openmw.dir/mwphysics/actor.cpp.o: In function `MWPhysics::Actor::Actor(MWWorld::Ptr const&, osg::ref_ptr<Resource::BulletShape const>, btCollisionWorld*)':
/home/moni/openmw/apps/openmw/mwphysics/actor.cpp:34: undefined reference to `btCapsuleShapeZ::btCapsuleShapeZ(float, float)'
../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x28): undefined reference to `btCollisionShape::getBoundingSphere(btVector3&, float&) const'
../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x38): undefined reference to `btCollisionShape::getContactBreakingThreshold(float) const'
../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x50): undefined reference to `btTriangleMeshShape::calculateLocalInertia(float, btVector3&) const'
collect2: error: ld returned 1 exit status
apps/openmw/CMakeFiles/openmw.dir/build.make:6535: recipe for target 'openmw' failed
make[2]: *** [openmw] Error 1
CMakeFiles/Makefile2:501: recipe for target 'apps/openmw/CMakeFiles/openmw.dir/all' failed
make[1]: *** [apps/openmw/CMakeFiles/openmw.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I'm building version 0.43
Code: Select all
git checkout tags/openmw-0.43.0