Build problem. no make install

dwlg122
Posts: 2
Joined: Thu May 20, 2010 9:16 am

Build problem. no make install

Post by dwlg122 »

Hi,

If I do a "make install" after a successful cmake, make it simply says that there is no install target.

Code: Select all

root:~/src/bullet-2.76$ make
[  4%] Built target OpenGLSupport
[ 36%] Built target BulletCollision
[ 37%] Built target BulletFileLoader
[ 42%] Built target ConvexDecomposition
[ 42%] Built target BulletWorldImporter
[ 42%] Built target GIMPACTUtils
[ 54%] Built target GLUI
[ 57%] Built target BulletSoftBody
[ 65%] Built target BulletDynamics
[ 67%] Built target LinearMath
[ 74%] Built target AppAllBulletDemos
[ 75%] Built target AppConvexDecompositionDemo
[ 76%] Built target AppBenchmarks
[ 77%] Built target AppHelloWorld
[ 78%] Built target AppCcdPhysicsDemo
[ 79%] Built target AppConstraintDemo
[ 80%] Built target AppSliderConstraintDemo
[ 81%] Built target AppGenericJointDemo
[ 81%] Built target AppRaytracer
[ 82%] Built target AppRagdollDemo
[ 83%] Built target AppForkLiftDemo
[ 83%] Built target AppBasicDemo
[ 84%] Built target AppBox2dDemo
[ 85%] Built target AppBspPhysicsDemo
[ 85%] Built target AppMovingConcaveDemo
[ 86%] Built target AppVehicleDemo
[ 86%] Built target AppUserCollisionAlgorithm
[ 88%] Built target AppCharacterDemo
[ 89%] Built target AppSoftBodyDemo
[ 93%] Built target HfFluidDemo
[ 94%] Built target AppCollisionInterfaceDemo
[ 95%] Built target AppConcaveConvexCastDemo
[ 95%] Built target AppSimplexDemo
[ 96%] Built target AppMotorDemo
[ 96%] Built target AppDoublePrecisionDemo
[ 96%] Built target AppConcaveDemo
[ 96%] Built target AppCollisionDemo
[ 96%] Built target AppContinuousConvexCollisionDemo
[ 97%] Built target AppConcaveRayCastDemo
[ 98%] Built target AppLinearConvexCastDemo
[ 99%] Built target AppMultiMaterialDemo
[100%] Built target AppSerializeDemo
[100%] Built target AppInternalEdgeDemo
root:~/src/bullet-2.76$ make install
make: *** No rule to make target `install'.  Stop.
root:~/src/bullet-2.76$
I have no idea why it wont work...
The full build process:
http://pastebin.com/LrcgnXtb
The CMakeOutput.log:
http://pastebin.com/pLJJvYr2
dwlg122
Posts: 2
Joined: Thu May 20, 2010 9:16 am

Re: Build problem. no make install

Post by dwlg122 »

It worked fine with autogen.sh, configure (after removing a missing makefile configure.ac:111: required file `Demos/ColladaDemo/Makefile.in' not found)
cmake ist to impracticable...
User avatar
jann.poppinga
Posts: 12
Joined: Wed Aug 26, 2009 3:32 pm

Re: Build problem. no make install

Post by jann.poppinga »

I ran into this problem too. Thanks for the working alternative, dwig122

Edit: Another problem with v2.76: Although the file BulletCollision/CollisionShapes/btTriangleInfoMap.h is there under the src directory in the unpacked archive, it is not being installed. I had to copy it by hand.

Edit2: More problems with this method: when installing via cmake, the libraries are in camel-case. With autogen, they are in lower case. With cmake, the header file hierarchy starts in /usr/local/include. With autogen, it starts in (the otherwise non-existant) /usr/local/include/bullet.

Edit3: One way to install bullet v2.76 with cmake is to use cmake-gui: check "INSTALL_LIBS" (and "INSTALL_EXTRA_LIBS" if you need them - WorldBuilder, MultiThreaded I think), click "Configure" and "Generate". Then make, make install will work.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Build problem. no make install

Post by Erwin Coumans »

Bullet is designed for static linking, and not for dynamic linking or installation. Some people contributed shared libraries/frameworks/install features, but it isn't supported (in other words, you will have to fix it yourself, contribute it, or hope someone else will help out).

Linking static libraries into your project should work just fine. If there is any problem with this, we will try to fix it,
Thanks,
Erwin