I know this has been asked before, but following the usual instructions does not seem to be working for me. I used ./configure and jam to compile Bullet, but when I go to link my project the linker says:
btDiscreteDynamicsWorld.cpp:(.text+0x496)||undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
Also, are the demos suppose to automatically compile when jam is used? I couldn't find any compiled demos anywhere. At the end of jam's output it says that it failed updating 11 targets and skipped 7 targets. Could this be part of the problem?
Help installing on Linux
-
- Posts: 4
- Joined: Tue Jun 24, 2008 9:28 pm
Re: Help installing on Linux
I tried using cmake, and the demos compiled fine, but I'm still getting the same linking error when I try to link my own project. This is a project that worked fine in Windows, but I'm really having difficulties getting it to work in Linux.
Does anybody have any suggestions?
Does anybody have any suggestions?
-
- Posts: 42
- Joined: Thu May 17, 2007 9:34 am
- Location: Stuttgart, Germany
Re: Help installing on Linux
Which Bullet-version do you have? Which distribution?
-
- Posts: 4
- Joined: Tue Jun 24, 2008 9:28 pm
Re: Help installing on Linux
I downloaded bullet-2.69.tgz from the download page a few days ago, decompressed it, then tried compiling. I did not have any previous versions installed on my system, so it should only be using the files found in that version.
-
- Posts: 4
- Joined: Tue Jun 24, 2008 9:28 pm
Re: Help installing on Linux
Well, that was stupid. I guess all I was doing wrong was linking the libraries in the wrong order!
-
- Posts: 42
- Joined: Thu May 17, 2007 9:34 am
- Location: Stuttgart, Germany
Re: Help installing on Linux
You need to link against BulletCollision (libbulletcollision.a).ArmchairArmada wrote:btDiscreteDynamicsWorld.cpp:(.text+0x496)||undefined reference to `btSimulationIslandManager::btSimulationIslandManager()'|
When you have glut (and appropriate dev-packages) installed, the demos should be compiled automatically. If not, then not.Also, are the demos suppose to automatically compile when jam is used? I couldn't find any compiled demos anywhere. At the end of jam's output it says that it failed updating 11 targets and skipped 7 targets. Could this be part of the problem?