![]() |
|
bullet-2.73 "cannot find -lbulletcollision" (patch - 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: bullet-2.73 "cannot find -lbulletcollision" (patch (/showthread.php?tid=1035) Pages:
1
2
|
- thelusiv - 02-18-2009 http://wiki.vdrift.net/Compiling The Bullet build method has changed for 2009-02-15. - mageaster - 02-19-2009 I tried scons without building Bullet. The output is: Code: ....Code: Install file: "build/vdrift" as "/usr/share/games/vdrift/bin/vdrift"VDrift in build dir is missing. All libs are installed - thelusiv - 02-19-2009 mageaster: Looks like you do not have the compiler (g++) installed. - joevenzon - 02-19-2009 mageaster Wrote:I tried scons without building Bullet. The output is: Here's how this is supposed to look: Code: g++ -o bullet-2.73/src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.o -c -Wall -Wextra -Wno-unused-parameter -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.73/src -I/usr/include/SDL bullet-2.73/src/BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cppFor some reason the beginning of the line is getting cut off on your computer. Have you successfully been able to build other programs from source? Can you double check your versions of scons and python? What operating system distribution are you using? - thelusiv - 02-20-2009 Joe, I've seen this happen before, when g++ is not installed. Basically SCons looks for the C++ compiler using the environment variable, and it is empty because none is installed. In the SConstruct file I notice that CC and CXX are directly set under most of the build platforms, but not under the POSIX build. I think this is to inherit the compiler from the environment, in case the user has something different; however I think this could be changed since only the GNU compilers are tested, and others may well not work anyway. I've committed a fix, r2357. - mageaster - 02-20-2009 Yahoooooooooo!!! Thanks to thelusiv, installing g++ have solved the problem. I think it should be added into wiki. PS. It's very nice poject! I wish you further evolution. - thelusiv - 02-20-2009 Thanks, I have updated the wiki a little bit to reflect the need for g++ and scons. |