Forums
VDrift compilation error - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: VDrift compilation error (/showthread.php?tid=992)



VDrift compilation error - Jon - 09-01-2008

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$



- davidMC1982 - 09-01-2008

Did you build Bullet before compiling?


- Jon - 09-01-2008

Yeah


- joevenzon - 09-01-2008

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.


- Jon - 09-02-2008

Thanks, I'll Try that


- joevenzon - 09-03-2008

Let me know what path works for you so I can add it to the SConscipt file for everyone else.