Two possible build/install stage bugs for bullet that I encountered while installing under Ubuntu, using GCC as compiler.
First problem:
> cmake -DBUILD_SHARED_LIBS=ON
...
> make
...
[ 86%] Building CXX object Demos/MultiThreadedDemo/CMakeFiles/AppMultiThreadedDemo.dir/MultiThreadedDemo.o
/home/user/bullet-2.75-rc7/Demos/MultiThreadedDemo/MultiThreadedDemo.cpp: In member function ‘virtual void MultiThreadedDemo::initPhysics()’:
/home/user/Desktop/bullet-2.75-rc7/Demos/MultiThreadedDemo/MultiThreadedDemo.cpp:293: warning: deprecated conversion from string constant to ‘char*’
Linking CXX executable AppMultiThreadedDemo
/home/user/Desktop/bullet-2.75-rc7/src/BulletMultiThreaded/libBulletMultiThreaded.so: undefined reference to `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)'
collect2: ld returned 1 exit status
make[2]: *** [Demos/MultiThreadedDemo/AppMultiThreadedDemo] Error 1
make[1]: *** [Demos/MultiThreadedDemo/CMakeFiles/AppMultiThreadedDemo.dir/all] Error 2
make: *** [all] Error 2
Second problem:
> cmake .
...
> make
...
> make install
No rule to make target 'install'
Build & install problems under Ubuntu + GCC
- Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
- Contact:
Re: Build & install problems under Ubuntu + GCC
Code: Select all
/home/user/Desktop/bullet-2.75-rc7/src/BulletMultiThreaded/libBulletMultiThreaded.so: undefined reference to `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)'
installing Bullet is not really supported. It is assumed that developers copy Bullet in their own project, and statically link it.> make install
No rule to make target 'install'
We do welcome patches, so if you manage to add 'install' to the cmake build system for Bullet, please share it in the Googlecode Issue tracker.
Thanks,
Erwin