Build & install problems under Ubuntu + GCC

Post Reply
sb01234
Posts: 1
Joined: Sun Aug 23, 2009 8:02 am

Build & install problems under Ubuntu + GCC

Post by sb01234 »

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'
User avatar
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

Post by Erwin Coumans »

Code: Select all

/home/user/Desktop/bullet-2.75-rc7/src/BulletMultiThreaded/libBulletMultiThreaded.so: undefined reference to `localGetSupportingVertexWithoutMargin(int, void*, btVector3 const&, SpuConvexPolyhedronVertexData*)'
It seems to refer to an obsolete method that has been removed in the latest trunk. Can you get the latest SVN trunk and clean the project properly?
> make install
No rule to make target 'install'
installing Bullet is not really supported. It is assumed that developers copy Bullet in their own project, and statically link it.

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
Post Reply