Forums
Method for building bullet changed, breakage? - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Method for building bullet changed, breakage? (/showthread.php?tid=1055)



Method for building bullet changed, breakage? - joevenzon - 02-02-2009

Starting with SVN R2321, bullet is now built as part of VDrift, so there's no longer any need to build bullet first. I added a bunch of the bullet files that are needed to the src/SConscript file, and removed linking to the bullet library. This is apparently the way the bullet author always intended bullet to be used, and solves a lot of problems: first off, the bullet build scripts are a little wonky and sometimes have bugs, and second, if the user did install a different version of bullet on their system, it doesn't matter anymore, since we don't link against a bullet library, we just include their files.

Anyway, I'm wondering if my monkeying around with the VDrift scons files broke compilation for anyone (specifically for other platforms). Anyone having trouble?


- thelusiv - 02-02-2009

Seems to work pretty well for me. I didn't clean my build first, but it worked nonetheless. Cleaning the build and recompiling all the object files worked fine too. This seems a much better approach to Bullet for VDrift, as long as the compiler flags and such for Bullet don't change often.


- Adam_Dunn - 02-03-2009

$ uname -a
Linux Hopper 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

$ scons arch=a64
scons: done building targets.

Looks good here!