hello,
I am French my english is not wonderful so
[tiltman@localhost vdrift]$ scons
.........
g++ -o build/vdrift build/main.o build/graphics.o build/game.o build/scenegraph.o build/camera.o build/controls.o build/font.o build/forcefeedback.o build/gamestate.o build/keyman.o build/logging.o build/logo.o build/messageq.o build/model.o build/mouse.o build/multiplay.o build/net.o build/objects.o build/particles.o build/3dmath.o build/replay.o build/settings.o build/sound.o build/textures.o build/timer.o build/utility.o build/vamosworld.o build/ai.o build/configfile.o build/bezier.o build/joepack.o build/cardinfo.o build/binreloc.o build/trackmap.o build/bipointer.o build/tester.o build/vertexarray.o build/autox_track.o build/physics.o build/shader.o build/serialization.o build/track.o build/vamos/body/Aerodynamic_Device.o build/vamos/body/Brake.o build/vamos/body/Car.o build/vamos/body/Clutch.o build/vamos/body/Contact_Point.o build/vamos/body/Differential.o build/vamos/body/Drivetrain.o build/vamos/body/Engine.o build/vamos/body/Exerter.o build/vamos/body/Frame.o build/vamos/body/Fuel_Tank.o build/vamos/body/Gauge.o build/vamos/body/Gl_Car.o build/vamos/body/Particle.o build/vamos/body/Rigid_Body.o build/vamos/body/Suspension.o build/vamos/body/Tire.o build/vamos/body/Transmission.o build/vamos/body/Wheel.o build/vamos/geometry/Gl_Texture_Image.o build/vamos/geometry/Inertia_Tensor.o build/vamos/geometry/Linear_Interpolator.o build/vamos/geometry/Material.o build/vamos/geometry/Sample.o build/vamos/geometry/Spline.o build/vamos/geometry/Texture_Image.o build/vamos/geometry/Three_Matrix.o build/vamos/geometry/Three_Vector.o build/vamos/geometry/Two_Point.o build/vamos/world/World.o build/gui/button.o build/gui/calibrate.o build/gui/controlgrab.o build/gui/designer.o build/gui/gui.o build/gui/image.o build/gui/label.o build/gui/multi_image.o build/gui/page.o build/gui/slider.o build/gui/spinning_car.o build/gui/textbox.o build/gui/toggle.o -Lbuild -Lsrc -Llib -L/usr/X11R6/lib -Lbullet-2.64/out/linuxx86/optimize/libs -Lbullet-2.64/out/linux/optimize/libs -lSDL -lpthread -lGL -lGLU -lSDL_image -lSDL_net -lSDL_gfx -lbulletcollision -lbulletmath -lvorbisfile
/usr/bin/ld: cannot find -lbulletcollision
collect2: ld a retourné 1 code d'état d'exécution
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.
I have read the wiki but it cannot help me more
What's the probleme?
Thanks
did you build bullet first ?
cd bullet-2.64
./configure
jam
Yes I have build Bullet-2.64 first
[tiltman@localhost bullet-2.64]$ ./configure
OK no error, but
[tiltman@localhost bullet-2.64]$ jam
warning: unknown rule FrameWorkDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
warning: unknown rule BulletDemo
...patience...
don't know how to make libbulletopenglsupport.a
...found 1880 target(s)...
...updating 7 target(s)...
...can't find 1 target(s)...
...can't make 5 target(s)...
C++ ./out/linuxx86/optimize/Demos/EPAPenDepthDemo/PenetrationTestBullet.o
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:16:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid DrawLine(const btVector3&, const btVector3&, const btVector3&, float)â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:68: erreur: âGL_LIGHTINGâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:68: erreur: âglDisableâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:69: erreur: âglLineWidthâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:70: erreur: âglColor4fâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:72: erreur: âGL_VERTEX_ARRAYâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:72: erreur: âglEnableClientStateâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:74: erreur: âGL_FLOATâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:74: erreur: âglVertexPointerâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:78: erreur: âGL_LINESâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:78: erreur: âglDrawArraysâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:79: erreur: âglDisableClientStateâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:81: erreur: âglEnableâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid DrawTriangle(const btVector3&, const btVector3&, const btVector3&, const btVector3&)â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:87: erreur: âglColor4fâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:89: erreur: âGL_VERTEX_ARRAYâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:89: erreur: âglEnableClientStateâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:91: erreur: âGL_FLOATâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:91: erreur: âglVertexPointerâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:95: erreur: âGL_TRIANGLESâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:95: erreur: âglDrawArraysâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:96: erreur: âglDisableClientStateâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid setOrthographicProjection()â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:184: erreur: âGL_PROJECTIONâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:184: erreur: âglMatrixModeâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:187: erreur: âglPushMatrixâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:189: erreur: âglLoadIdentityâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:191: erreur: âgluOrtho2Dâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:193: erreur: âglScalefâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:196: erreur: âglTranslatefâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:197: erreur: âGL_MODELVIEWâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid resetPerspectiveProjection()â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:202: erreur: âGL_PROJECTIONâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:202: erreur: âglMatrixModeâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:203: erreur: âglPopMatrixâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:204: erreur: âGL_MODELVIEWâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In member function âvoid MyConvex::Render(bool, const btVector3&) constâ:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:210: erreur: âglPushMatrixâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:215: erreur: âglMultMatrixfâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:224: erreur: âglNormal3fâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:257: erreur: âglPopMatrixâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid RenderCallback()â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:653: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:653: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:653: erreur: âglClearâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:656: erreur: âGL_PROJECTIONâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:656: erreur: âglMatrixModeâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:657: erreur: âglLoadIdentityâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:658: erreur: âGLUT_WINDOW_WIDTHâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:658: erreur: âglutGetâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:658: erreur: âGLUT_WINDOW_HEIGHTâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:658: erreur: âgluPerspectiveâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:659: erreur: âgluLookAtâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:661: erreur: âGL_MODELVIEWâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:664: erreur: âGL_LIGHTINGâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:664: erreur: âglEnableâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:688: erreur: âglColor3fâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:696: erreur: âglRasterPos3fâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:784: erreur: âglutSwapBuffersâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid ReshapeCallback(int, int)â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:789: erreur: âglViewportâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âvoid IdleCallback()â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:794: erreur: âglutPostRedisplayâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp: In function âint main(int, char**)â:
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:800: erreur: âglutInitâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:801: erreur: âglutInitWindowSizeâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:802: erreur: âGLUT_RGBâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:802: erreur: âGLUT_DOUBLEâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:802: erreur: âGLUT_DEPTHâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:802: erreur: âglutInitDisplayModeâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:803: erreur: âglutCreateWindowâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:804: erreur: âglutSetWindowâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:805: erreur: âglutDisplayFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:806: erreur: âglutReshapeFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:807: erreur: âglutIdleFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:808: erreur: âglutKeyboardFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:809: erreur: âglutSpecialFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:810: erreur: âglutMouseFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:811: erreur: âglutMotionFuncâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:815: erreur: âglClearColorâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:816: erreur: âGL_DEPTH_TESTâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:816: erreur: âglEnableâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:817: erreur: âGL_COLOR_MATERIALâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:818: erreur: âGL_CULL_FACEâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:821: erreur: âGL_LIGHTINGâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:822: erreur: âGL_LIGHT0â was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:822: erreur: âGL_AMBIENTâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:822: erreur: âglLightfvâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:823: erreur: âGL_DIFFUSEâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:824: erreur: âGL_SPECULARâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:825: erreur: âGL_POSITIONâ was not declared in this scope
Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp:854: erreur: âglutMainLoopâ was not declared in this scope
g++ -c -o ./out/linuxx86/optimize/Demos/EPAPenDepthDemo/PenetrationTestBullet.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/GIMPACT/include Demos/EPAPenDepthDemo/PenetrationTestBullet.cpp
...failed C++ ./out/linuxx86/optimize/Demos/EPAPenDepthDemo/PenetrationTestBullet.o ...
...skipped EPAPenDepthDemo for lack of <Demos>PenetrationTestBullet.o...
C++ ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/main.o
Dans le fichier inclus à partir de Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.h:18,
à partir de Demos/ConvexDecompositionDemo/main.cpp:3:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
g++ -c -o ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/main.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/ConvexDecomposition Demos/ConvexDecompositionDemo/main.cpp
...failed C++ ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/main.o ...
C++ ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.o
Dans le fichier inclus à partir de Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.h:18,
à partir de Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:42:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp: In member function âvirtual void ConvexDecompositionDemo::clientMoveAndDisplay()â:
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:366: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:366: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:366: erreur: âglClearâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:375: erreur: âglFlushâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:376: erreur: âglutSwapBuffersâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp: In member function âvirtual void ConvexDecompositionDemo::displayCallback()â:
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:384: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:384: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:384: erreur: âglClearâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:392: erreur: âglFlushâ was not declared in this scope
Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp:393: erreur: âglutSwapBuffersâ was not declared in this scope
g++ -c -o ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/ConvexDecomposition Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
...failed C++ ./out/linuxx86/optimize/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.o ...
...skipped ConvexDecompositionDemo for lack of <Demos>main.o...
C++ ./out/linuxx86/optimize/Demos/ColladaDemo/ColladaDemo.o
Dans le fichier inclus à partir de Demos/ColladaDemo/ColladaDemo.h:18,
à partir de Demos/ColladaDemo/ColladaDemo.cpp:33:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
./Extras/BulletColladaConverter/ColladaConverter.h:37: attention : âclass ColladaConverterâ has virtual functions but non-virtual destructor
Demos/ColladaDemo/ColladaDemo.cpp:40: attention : âclass MyColladaConverterâ has virtual functions but non-virtual destructor
Demos/ColladaDemo/ColladaDemo.cpp: In member function âvirtual void ColladaDemo::clientMoveAndDisplay()â:
Demos/ColladaDemo/ColladaDemo.cpp:208: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:208: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:208: erreur: âglClearâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:217: erreur: âglFlushâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:218: erreur: âglutSwapBuffersâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp: In member function âvirtual void ColladaDemo::displayCallback()â:
Demos/ColladaDemo/ColladaDemo.cpp:226: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:226: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:226: erreur: âglClearâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:234: erreur: âglFlushâ was not declared in this scope
Demos/ColladaDemo/ColladaDemo.cpp:235: erreur: âglutSwapBuffersâ was not declared in this scope
g++ -c -o ./out/linuxx86/optimize/Demos/ColladaDemo/ColladaDemo.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/BulletColladaConverter -I./Extras/COLLADA_DOM/include -I./Extras/COLLADA_DOM/include/1.4 -I./Extras/LibXML -I./Extras/LibXML/include Demos/ColladaDemo/ColladaDemo.cpp
...failed C++ ./out/linuxx86/optimize/Demos/ColladaDemo/ColladaDemo.o ...
...skipped ColladaDemo for lack of <Demos>ColladaDemo.o...
C++ ./out/linuxx86/optimize/Demos/GimpactTestDemo/GimpactTestDemo.o
Dans le fichier inclus à partir de Demos/GimpactTestDemo/GimpactTestDemo.h:18,
à partir de Demos/GimpactTestDemo/GimpactTestDemo.cpp:17:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactBvh.h:237: attention : âclass btPrimitiveManagerBaseâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:302: attention : âclass btGImpactCompoundShape::CompoundPrimitiveManagerâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:520: attention : âclass btGImpactMeshShapePart::TrimeshPrimitiveManagerâ has virtual functions but non-virtual destructor
Demos/GimpactTestDemo/GimpactTestDemo.h: In constructor âGimpactConcaveDemo::GimpactConcaveDemo()â:
Demos/GimpactTestDemo/GimpactTestDemo.h:115: attention : âGimpactConcaveDemo::m_constraintSolverâ will be initialized after
Demos/GimpactTestDemo/GimpactTestDemo.h:110: attention : âbtCollisionAlgorithmCreateFunc* GimpactConcaveDemo::m_gimpactCollisionCreateFuncâ
Demos/GimpactTestDemo/GimpactTestDemo.h:54: attention : when initialized here
Demos/GimpactTestDemo/GimpactTestDemo.h:110: attention : âGimpactConcaveDemo::m_gimpactCollisionCreateFuncâ will be initialized after
Demos/GimpactTestDemo/GimpactTestDemo.h:87: attention : âunsigned int GimpactConcaveDemo::m_steps_doneâ
Demos/GimpactTestDemo/GimpactTestDemo.h:54: attention : when initialized here
Demos/GimpactTestDemo/GimpactTestDemo.cpp: In member function âvirtual void GimpactConcaveDemo::renderme()â:
Demos/GimpactTestDemo/GimpactTestDemo.cpp:202: erreur: âglColor3fâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:206: erreur: âglRasterPos3fâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp: In member function âvoid GimpactConcaveDemo::initPhysics()â:
Demos/GimpactTestDemo/GimpactTestDemo.cpp:532: attention : unused variable âbodyAâ
Demos/GimpactTestDemo/GimpactTestDemo.cpp:537: attention : unused variable âbodyBâ
Demos/GimpactTestDemo/GimpactTestDemo.cpp: In member function âvirtual void GimpactConcaveDemo::clientMoveAndDisplay()â:
Demos/GimpactTestDemo/GimpactTestDemo.cpp:607: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:607: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:607: erreur: âglClearâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:648: attention : format â%iâ expects type âintâ, but argument 3 has type âlong unsigned intâ
Demos/GimpactTestDemo/GimpactTestDemo.cpp:669: erreur: âglFlushâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:670: erreur: âglutSwapBuffersâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp: In member function âvirtual void GimpactConcaveDemo::displayCallback()â:
Demos/GimpactTestDemo/GimpactTestDemo.cpp:677: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:677: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:677: erreur: âglClearâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:681: erreur: âglFlushâ was not declared in this scope
Demos/GimpactTestDemo/GimpactTestDemo.cpp:682: erreur: âglutSwapBuffersâ was not declared in this scope
g++ -c -o ./out/linuxx86/optimize/Demos/GimpactTestDemo/GimpactTestDemo.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/GIMPACT/include -I./Extras/GIMPACTUtils Demos/GimpactTestDemo/GimpactTestDemo.cpp
...failed C++ ./out/linuxx86/optimize/Demos/GimpactTestDemo/GimpactTestDemo.o ...
C++ ./out/linuxx86/optimize/Demos/GimpactTestDemo/main.o
Dans le fichier inclus à partir de Demos/GimpactTestDemo/GimpactTestDemo.h:18,
à partir de Demos/GimpactTestDemo/main.cpp:2:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactBvh.h:237: attention : âclass btPrimitiveManagerBaseâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:302: attention : âclass btGImpactCompoundShape::CompoundPrimitiveManagerâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:520: attention : âclass btGImpactMeshShapePart::TrimeshPrimitiveManagerâ has virtual functions but non-virtual destructor
Demos/GimpactTestDemo/GimpactTestDemo.h: In constructor âGimpactConcaveDemo::GimpactConcaveDemo()â:
Demos/GimpactTestDemo/GimpactTestDemo.h:115: attention : âGimpactConcaveDemo::m_constraintSolverâ will be initialized after
Demos/GimpactTestDemo/GimpactTestDemo.h:110: attention : âbtCollisionAlgorithmCreateFunc* GimpactConcaveDemo::m_gimpactCollisionCreateFuncâ
Demos/GimpactTestDemo/GimpactTestDemo.h:54: attention : when initialized here
Demos/GimpactTestDemo/GimpactTestDemo.h:110: attention : âGimpactConcaveDemo::m_gimpactCollisionCreateFuncâ will be initialized after
Demos/GimpactTestDemo/GimpactTestDemo.h:87: attention : âunsigned int GimpactConcaveDemo::m_steps_doneâ
Demos/GimpactTestDemo/GimpactTestDemo.h:54: attention : when initialized here
g++ -c -o ./out/linuxx86/optimize/Demos/GimpactTestDemo/main.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/GIMPACT/include -I./Extras/GIMPACTUtils Demos/GimpactTestDemo/main.cpp
...failed C++ ./out/linuxx86/optimize/Demos/GimpactTestDemo/main.o ...
...skipped GimpactTestDemo for lack of <Demos>GimpactTestDemo.o...
C++ ./out/linuxx86/optimize/Demos/MovingConcaveDemo/ConcavePhysicsDemo.o
Dans le fichier inclus à partir de Demos/MovingConcaveDemo/ConcaveDemo.h:18,
à partir de Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:17:
./Demos/OpenGL/DemoApplication.h:30:21: erreur: GL/glut.h : Aucun fichier ou répertoire de ce type
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactBvh.h:237: attention : âclass btPrimitiveManagerBaseâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:302: attention : âclass btGImpactCompoundShape::CompoundPrimitiveManagerâ has virtual functions but non-virtual destructor
./Extras/GIMPACT/include/GIMPACT/Bullet/btGImpactShape.h:520: attention : âclass btGImpactMeshShapePart::TrimeshPrimitiveManagerâ has virtual functions but non-virtual destructor
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp: In member function âvirtual void ConcaveDemo::renderme()â:
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1547: erreur: âglColor3fâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1551: erreur: âglRasterPos3fâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp: In member function âvirtual void ConcaveDemo::keyboardCallback(unsigned char, int, int)â:
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1856: erreur: âglutPostRedisplayâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp: In member function âvirtual void ConcaveDemo::clientMoveAndDisplay()â:
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1887: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1887: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1887: erreur: âglClearâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1895: erreur: âglFlushâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1896: erreur: âglutSwapBuffersâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp: In member function âvirtual void ConcaveDemo::displayCallback()â:
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1905: erreur: âGL_COLOR_BUFFER_BITâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1905: erreur: âGL_DEPTH_BUFFER_BITâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1905: erreur: âglClearâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1909: erreur: âglFlushâ was not declared in this scope
Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp:1910: erreur: âglutSwapBuffersâ was not declared in this scope
g++ -c -o ./out/linuxx86/optimize/Demos/MovingConcaveDemo/ConcavePhysicsDemo.o -I. -I./src -I. -pipe -Wall -Wno-unknown-pragmas -fno-exceptions -O3 -fomit-frame-pointer -ffast-math -I./Demos/OpenGL -I./Extras/GIMPACT/include Demos/MovingConcaveDemo/ConcavePhysicsDemo.cpp
...failed C++ ./out/linuxx86/optimize/Demos/MovingConcaveDemo/ConcavePhysicsDemo.o ...
...skipped MovingConcaveDemo for lack of <Demos>ConcavePhysicsDemo.o...
...failed updating 7 target(s)...
...skipped 5 target(s)...
Check to see where libbulletcollision.a is. The scons file assumes it is put in either bullet-2.64/out/linuxx86/optimize/libs or bullet-2.64/out/linux/optimize/libs. If it's not in these locations you'll need to modify the scons files to look in the new locations.
strange.. i use fedora 8 on two different machine one 32bit and the other 64bit and both compiled with no problem at all..
what version of the game are you using??
It looks like he has the latest version, it is the only one that uses Bullet. The bullet warnings and incomplete targets can be ignored. It is only important that libbulletcollision and libbulletmath get created. As long as you don't get any errors with the following command it's fine:
Code:
jam bulletmath bulletcollision
What video card/graphics drivers are being used? Are you sure you have the OpenGL headers (development package) installed? Do other 3D games work?
Read his VDrift compile log in the first post... it's not finding the bullet collision lib. My guess is it's getting built but jam is putting it somewhere that VDrift can't find it (jam puts it in a folder that depends on your architecture).
Good point Joe, this command will tell you where the lib is:
and then you can modify line src/SConscript line 119 to replace "#bullet-2.64/out/linux/optimize/libs" with "#bullet-2.64/out/WHATYOUFOUND/optimize/libs" where WHATYOUFOUND was the directory listed by the command above.