[Bf-committers] game engine build error

Mats Holmberg mats.holmberg at saunalahti.fi
Fri Oct 28 21:54:04 CEST 2005


Toni Alatalo wrote:

>Erwin Coumans wrote:
>
>.. requesting game engine build errors, but seems that i had accidentally 
>removed that message, but here comes mine .. linux ubuntu breezy w/ scons, 
>game engine worked on that box some days ago:
>
>/home/antont/build/linux2/lib/libKX_ketsji.a(KX_ConvertPhysicsObjects.o): In 
>function `CreateBulletShapeFromMesh':
>source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:768: undefined reference 
>to `ConvexHullShape::ConvexHullShape[in-charge](SimdVector3*, int)'
>source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:772: undefined reference 
>to `TriangleMesh::TriangleMesh[in-charge]()'
>/home/antont/build/linux2/lib/libKX_ketsji.a(KX_ConvertPhysicsObjects.o): In 
>function `KX_ConvertBulletObject(KX_GameObject*, RAS_MeshObject*, KX_Scene*, 
>PHY_ShapeProps*, PHY_MaterialProps*, KX_ObjectProperties*)':
>extern/bullet/Bullet/CollisionShapes/BoxShape.h:81: undefined reference to 
>`vtable for BoxShape'
>/home/antont/build/linux2/lib/libKX_ketsji.a(KX_ConvertPhysicsObjects.o): In 
>function `KX_ConvertBulletObject(KX_GameObject*, RAS_MeshObject*, KX_Scene*, 
>PHY_ShapeProps*, PHY_MaterialProps*, KX_ObjectProperties*)':
>source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:920: undefined reference 
>to `vtable for BoxShape'
>source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:930: undefined reference 
>to `CylinderShapeZ::CylinderShapeZ[in-charge](SimdVector3 const&)'
>source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp:947: undefined reference 
>to `ConeShape::ConeShape[in-charge](float, float)'
>collect2: ld returned 1 exit status
>scons: *** [blender] Error 1
>scons: building terminated because of errors.
>
>~Toni
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at projects.blender.org
>http://projects.blender.org/mailman/listinfo/bf-committers
>
>  
>
On Ubuntu 5.10 (with scons) I get this:

ar: creating /work/cvs/bf-blender/build/linux2/lib/libblender_render.a
-pipe -funsigned-char -O2 -Wall -W -DGAMEBLENDER=0 -DNDEBUG 
-Iintern/guardedalloc 
-I/work/cvs/bf-blender/build/linux2/source/blender/blenlib 
-Isource/blender/blenlib -Isource/blender/blenlib 
-I/work/cvs/bf-blender/build/linux2/source/blender/makesdna 
-Isource/blender/makesdna -Isource/blender/makesdna 
-I/work/cvs/bf-blender/build/linux2/source/blender/blenkernel 
-Isource/blender/blenkernel -Isource/blender/blenkernel 
-I/work/cvs/bf-blender/build/linux2/source/blender/imbuf 
-Isource/blender/imbuf -Isource/blender/imbuf 
-I/work/cvs/bf-blender/build/linux2/source/blender/include 
-Isource/blender/include -Isource/blender/include 
-I/work/cvs/bf-blender/build/linux2/source/blender/render/extern/include 
-Isource/blender/render/extern/include 
-Isource/blender/render/extern/include 
-I/work/cvs/bf-blender/build/linux2/source/blender/render/intern/include 
-Isource/blender/render/intern/include 
-Isource/blender/render/intern/include -c -o 
/work/cvs/bf-blender/build/linux2/source/blender/yafray/intern/yafray_Render.o 
source/blender/yafray/intern/yafray_Render.cpp
sh: - : invalid option
scons: *** 
[/work/cvs/bf-blender/build/linux2/source/blender/yafray/intern/yafray_Render.o] 
Error 1
scons: building terminated because of errors.

Can't figure out what's wrong. Can someone please point me in the right 
direction, thanks.

-Mats


More information about the Bf-committers mailing list