Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VDrift compilation error
09-01-2008, 02:45 PM,
#1
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



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.
jon@Jon-Laptop:~/Data/Downloads/Source/vdrift-2008-08-05-src/vdrift-08-05-08$
Reply
09-01-2008, 04:08 PM,
#2
 
Did you build Bullet before compiling?
Reply
09-01-2008, 07:33 PM,
#3
 
Yeah
Reply
09-01-2008, 09:22 PM,
#4
 
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.
Reply
09-02-2008, 04:10 PM,
#5
 
Thanks, I'll Try that
Reply
09-03-2008, 09:40 PM,
#6
 
Let me know what path works for you so I can add it to the SConscipt file for everyone else.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)