Code: Select all
cmake -DINSTALL_LIBS=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebugInfo -G "Unix Makefiles"
make
make install
The headers are in /usr/local/include/bullet
an I have the following
libBulletCollision.so
libBulletCollision.so.2.77
libBulletDynamics.so
libBulletDynamics.so.2.77
libBulletMultiThreaded.so
libBulletMultiThreaded.so.2.77
libBulletSoftBody.so
libBulletSoftBody.so.2.77
libBulletSoftBodySolvers_CPU.so
libBulletSoftBodySolvers_CPU.so.2.77
in /usr/local/lib/
but not .a in which the hello world tell you to link with.
They do not seem to be made, I have checked in
src/BulletCollision/Release/
src/LinearMath/Release/
src/BulletDynamics/Release/
src/BulletSoftBody/Release/
But I don't even have a release folder
Initially I just want to print the info to the terminal, then move onto putting out a .so for a plug-in in another app.
What am I doing wrong here?
edit:
My LD_LIBRARY_PATH was wrong
using
g++ -o test main.cpp -I/usr/local/include/bullet -L/usr/local/lib/ -lBulletDynamics -lBulletCollision -lLinearMath
lests me compile the hello World
*feel like a fool*
but should the .a file have been created?