It's been a while since (months) since I last tested and now the compilation fails with the same process I was using. Back in the day Iy took dependencies from https://aur.archlinux.org/packages/openmw-git/ and run without problems, but now I get.
Code: Select all
/usr/bin/ld: CMakeFiles/openmw.dir/mwphysics/physicssystem.cpp.o: in function `MWPhysics::PhysicsSystem::updateWater()':
physicssystem.cpp:(.text+0x2f3a): undefined reference to `btStaticPlaneShape::btStaticPlaneShape(btVector3 const&, double)'
/usr/bin/ld: 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> >&)':
physicssystem.cpp:(.text+0x7485): undefined reference to `btConeShape::btConeShape(double, double)'
/usr/bin/ld: CMakeFiles/openmw.dir/mwphysics/heightfield.cpp.o: in function `MWPhysics::HeightField::HeightField(float const*, int, int, float, float, float, float, osg::Object const*)':
heightfield.cpp:(.text+0x27f): undefined reference to `btHeightfieldTerrainShape::btHeightfieldTerrainShape(int, int, void const*, double, double, double, int, PHY_ScalarType, bool)'
/usr/bin/ld: CMakeFiles/openmw.dir/mwphysics/mtphysics.cpp.o: in function `MWPhysics::PhysicsTaskScheduler::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&) const':
mtphysics.cpp:(.text+0x14d5): undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, double) const'
/usr/bin/ld: ../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x28): undefined reference to `btCollisionShape::getBoundingSphere(btVector3&, double&) const'
/usr/bin/ld: ../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x38): undefined reference to `btCollisionShape::getContactBreakingThreshold(double) const'
/usr/bin/ld: ../../components/libcomponents.a(bulletshapemanager.cpp.o):(.data.rel.ro._ZTVN8Resource17TriangleMeshShapeE[_ZTVN8Resource17TriangleMeshShapeE]+0x50): undefined reference to `btTriangleMeshShape::calculateLocalInertia(double, btVector3&) const'
/usr/bin/ld: CMakeFiles/openmw.dir/mwphysics/trace.cpp.o: in function `MWPhysics::ActorTracer::doTrace(btCollisionObject const*, osg::Vec3f const&, osg::Vec3f const&, btCollisionWorld const*)':
trace.cpp:(.text+0x1a2): undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, double) const'
/usr/bin/ld: CMakeFiles/openmw.dir/mwphysics/trace.cpp.o: in function `MWPhysics::ActorTracer::findGround(MWPhysics::Actor const*, osg::Vec3f const&, osg::Vec3f const&, btCollisionWorld const*)':
trace.cpp:(.text+0x4e2): undefined reference to `btCollisionWorld::convexSweepTest(btConvexShape const*, btTransform const&, btTransform const&, btCollisionWorld::ConvexResultCallback&, double) const'
collect2: error: ld returned 1 exit status
make[2]: *** [apps/openmw/CMakeFiles/openmw.dir/build.make:4465: openmw] Error 1
make[1]: *** [CMakeFiles/Makefile2:880: apps/openmw/CMakeFiles/openmw.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Any idea will be greatly and humbly appreciated?