02-18-2009, 02:18 PM
Pages: 1 2
02-19-2009, 02:39 AM
I tried scons without building Bullet. The output is:
And there is lot of such output. Scons install ends with:
VDrift in build dir is missing.
All libs are installed
Code:
....
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.cpp
sh: o: not found
....
Code:
Install file: "build/vdrift" as "/usr/share/games/vdrift/bin/vdrift"
scons: *** [/usr/share/games/vdrift/bin/vdrift] build/vdrift: No such file or directory
scons: building terminated because of errors.
VDrift in build dir is missing.
All libs are installed
02-19-2009, 09:18 PM
mageaster: Looks like you do not have the compiler (g++) installed.
02-19-2009, 11:45 PM
mageaster Wrote:I tried scons without building Bullet. The output is:
Code:....
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.cpp
sh: o: not found
....
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.cpp
For 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?
02-20-2009, 12:29 AM
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.
02-20-2009, 02:04 AM
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.
PS. It's very nice poject! I wish you further evolution.
02-20-2009, 06:58 PM
Thanks, I have updated the wiki a little bit to reflect the need for g++ and scons.
Pages: 1 2