Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
bullet-2.73 "cannot find -lbulletcollision" (patch
02-18-2009, 02:18 PM,
#16
 
http://wiki.vdrift.net/Compiling

The Bullet build method has changed for 2009-02-15.
Reply
02-19-2009, 02:39 AM,
#17
 
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
....
And there is lot of such output. Scons install ends with:
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
Reply
02-19-2009, 09:18 PM,
#18
 
mageaster: Looks like you do not have the compiler (g++) installed.
Reply
02-19-2009, 11:45 PM,
#19
 
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?
Reply
02-20-2009, 12:29 AM,
#20
 
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.
Reply
02-20-2009, 02:04 AM,
#21
 
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.
Reply
02-20-2009, 06:58 PM,
#22
 
Thanks, I have updated the wiki a little bit to reflect the need for g++ and scons.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)