I'm really new to the Bullet Engine and I have a few basic questions about how to set it up.
Firstly I compiled it like discribed in the wiki. (http://www.bulletphysics.org/mediawiki- ... ary_Recipe)
The result of that was a dir with several makefiles and the *.so-files. Now, I want to compile the Hello-World-Program using the .so-files so I copied them to the place, where my hello.cpp is and compiled everything using:
Code: Select all
g++ -fPIC -shared -I/usr/local/java/include -I/usr/local/java/include/genunix hello.cpp -o libhello.so -lBulletCollision -lBulletDynamics -lBulletMultiThreaded -lBulletSoftBody -lLinearMath -lMiniCL
Using this I get:
The compiler can't find btBulletDynamicsCommon.h. Why? Isn't it included in one of the *.so? Does it even makes sense/does it work to make a *.so-file that uses a *.so-file?hello.cpp:2:36: schwerwiegender Fehler: btBulletDynamicsCommon.h: Datei oder Verzeichnis nicht gefunden
How do I compile the Hello-World-Example using the *.so-files?
(Propably my questions are totally stupid but I havn't worked that much with C++ and *.so-files yet
