Bullet in Linux

promistrio
Posts: 1
Joined: Wed Oct 30, 2013 4:41 pm

Bullet in Linux

Post by promistrio »

Hello, comrades.
I downloaded the engine and I want use it in my project for Linux. I copied to a separate directory HelloWorld.cpp and bullet/src. The result is I get a folder(see the output of the ls)

Code: Select all

vladislav@buzdin:~/laboratory/HelloWorld$ ls
btBulletCollisionCommon.h  btBulletDynamicsCommon.h  Bullet-C-Api.h  BulletCollision  BulletDynamics  BulletMultiThreaded  BulletSoftBody  CMakeCache.txt  CMakeFiles  CMakeLists.txt  HelloWorld.cpp  LinearMath  Makefile  Makefile.am  MiniCL  vectormath
I get error when I run g++ HelloWorld.cpp.

Code: Select all

vladislav@buzdin:~/laboratory/HelloWorld$ g++ HelloWorld.cpp 
In file included from btBulletCollisionCommon.h:22:0,
                 from btBulletDynamicsCommon.h:20,
                 from HelloWorld.cpp:17:
BulletCollision/CollisionDispatch/btCollisionWorld.h:81:36: fatal error: LinearMath/btTransform.h: Нет такого файла или каталога
 #include "LinearMath/btTransform.h"
                                    ^
compilation terminated.
I know, that I should add library of engine, but project must be compiled.
Thanks.