build error: FreeBSD 8.0 - BTR - 05-22-2010
bullet-2.75
scons-1.3.0
sdl-1.2.14_1,2
sdl_gfx-2.0.20
sdl_image-1.2.10_2
sdl_net-1.2.7
===> Building for vdrift-20090215_5- scons: Reading SConscript files ...
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_net.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes
svnversion: not found
scons: done reading SConscript files.
scons: Building targets ...
/usr/local/libexec/ccache/world-c++ -o build/vdrift -lintl -Wl,-rpath,/usr/local/lib -pthread build/aabb.o build/aabb_space_partitioning.o build/ai.o build/bezier.o build/camera.o build/car.o build/carcontrolmap_local.o build/collision_detection.o build/configfile.o build/containeralgorithm.o build/coordinatesystems.o build/endian_utility.o build/eventsystem.o build/fbtexture.o build/font.o build/forcefeedback.o build/game.o build/game_render.o build/graphics.o build/gui.o build/guipage.o build/hud.o build/joepack.o build/k1999.o build/linearframe.o build/main.o build/mathvector.o build/model.o build/model_joe03.o build/opengl_utility.o build/optional.o build/parallel_task.o build/particle.o build/pathmanager.o build/performance_testing.o build/quaternion.o build/random.o build/replay.o build/reseatable_reference.o build/rigidbody.o build/rotationalframe.o build/scenegraph.o build/serialization.o build/settings.o build/shader.o build/sound.o build/text_draw.o build/texture.o build/timer.o build/toggle.o build/track.o build/track_object.o build/trackmap.o build/vertexarray.o -Lbuild -Lsrc -Llib -L/usr/local/lib -L/usr/X11R6/lib -lSDL -lGL -lGLU -lGLEW -lSDL_image -lSDL_net -lSDL_gfx -lvorbisfile -lbulletcollision -lbulletmath
build/collision_detection.o(.text+0x5fe): In function `COLLISION_OBJECT::InitTrimesh(float const*, int, int, int const*, int, int, float const*, COLLISION_OBJECT_SETTINGS const&)':
: undefined reference to `btTriangleIndexVertexArray::btTriangleIndexVertexArray(int, int*, int, int, float*, int)'
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
*** Error code 2
Stop in /usr/ports/games/vdrift.
*** Error code 1
Stop in /usr/ports/games/vdrift.
- NaN - 05-23-2010
Hi BTR,
looks like a bullet linking issue.
http://wiki.vdrift.net/Compiling#Prerequisites
Quote:Bullet
As of SVN R2358 (2009-06-15 release and later), no steps are required to build bullet and you can continue to the next section.
For the 2009-02-15 release, the only step required is to expand the Bullet source archive:
tar zxvf bullet-2.73-sp1.tgz
Is there a reason for not using the 2009-06-15 release?
- BTR - 05-23-2010
Thanks.
FreeBSD current ports snapshot only 'vdrift-20090215_5' available.
Native 2009-06-15 does not build with (and without) freebsd-build patches actually for 2009-02-15_5.
As well build vdrift-2009-06-15 RPM-package (Fedora-10 actually) ,
it can try to run by linuxulator under FreeBSD.
(I really don't know about ubuntu packages and how 'this' install and work(?) on RPM-based systems.)
I'd install vdrift-2009-02-15_5 with downgrade bullet to 2.73_1 ,
..starts correctly and flying fast ... with no sound and just black screen ,
but this is other story
|