"Hello, World" Example in Bullet

Post Reply
8Observer8
Posts: 10
Joined: Sat Sep 20, 2014 6:07 am

"Hello, World" Example in Bullet

Post by 8Observer8 »

Hello!

I'm new here. Sorry for my English in advance. I'm from Russia.

I want to run this example: http://bulletphysics.org/mediawiki-1.5. ... ello_World

I've installed Bullet on Mint Linux. But I don't know how to include all necessary files to the project.

I've included this (it's Qt):

Code: Select all

INCLUDEPATH += "/usr/local/include/bullet/"
But it is not enough. Please, help me!
8Observer8
Posts: 10
Joined: Sat Sep 20, 2014 6:07 am

Re: "Hello, World" Example in Bullet

Post by 8Observer8 »

It was not the "include errors". It was the "undefined errors".

I solved this:

Code: Select all

LIBS += "/usr/local/lib/libBulletCollision.so"
LIBS += "/usr/local/lib/libBulletCollision.so.2.82"

LIBS += "/usr/local/lib/libBulletDinamics.so"
LIBS += "/usr/local/lib/libBulletDinamics.so.2.82"
It is built well. But it isn't ran. I see this message:
error while loading shared libraries: libBulletCollision.so.2.82: cannot open shared object file: No such file or directory
Post Reply