Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VDrift compilation error
09-01-2008, 02:45 PM,
VDrift compilation error
When I try to compile VDrift with this command "sudo scons release = 1"

It dose a bunch of stuff and ends with the following lines of code

ning_car.o build/gui/textbox.o build/gui/toggle.o -Lbuild -Lsrc -Llib -L/usr/lib -L/usr/X11R6/lib -Lbullet-2.66/out/linux/optimize/libs -Lbullet-2.66/out/linuxx86/optimize/libs -lSDL -lGL -lGLU -lGLEW -lSDL_image -lSDL_net -lSDL_gfx -lbulletcollision -lbulletmath -lvorbisfile
build/physics.o: In function `PHYSICS::Init()':
physics.cpp:(.text+0x1f7): undefined reference to `btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(btStackAlloc*, btPoolAllocator*, btPoolAllocator*)'
build/physics.o: In function `PHYSICS::CollideRay(VERTEX const&, VERTEX const&, float, std::list<PHYSICSCONTACT, std::allocator<PHYSICSCONTACT> >&, PHYSICSCOLLISIONSETTINGS const&)':
physics.cpp:(.text+0x3329): undefined reference to `btCollisionWorld::rayTestSingle(btTransform const&, btTransform const&, btCollisionObject*, btCollisionShape const*, btTransform const&, btCollisionWorld::RayResultCallback&, short)'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
09-01-2008, 04:08 PM,
Did you build Bullet before compiling?
09-01-2008, 07:33 PM,
09-01-2008, 09:22 PM,
Check your bullet folder to find where it put the object files. When I compile bullet it puts them in out/linuxx86/optimize/libs, and so that's the library path that gets searched during the VDrift compile. Where does bullet put your files? We'll need to add that path to the library search path in VDrift's SConscipt file.
09-02-2008, 04:10 PM,
Thanks, I'll Try that
09-03-2008, 09:40 PM,
Let me know what path works for you so I can add it to the SConscipt file for everyone else.

Forum Jump:

Users browsing this thread: 1 Guest(s)