The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
scons build error 1 - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: scons build error 1 (/showthread.php?tid=1089) |
scons build error 1 - nipsilanti - 03-13-2009 Hi, Need help compiling using scons. I followed all the steps and installed all relevant software that I know of and get the following error. System Linux Ubuntu 8.10 64bit. I get the following error when running scons from within the vdrift folder Any help would be greatly appreciated. scons: *** [build/ai.o] Error 1 scons: building terminated because of errors. nips@lian01:~/games/vdrift-2009-02-15$ :?: - joevenzon - 03-13-2009 Can you post more console text? All you posted is the veeerry last part that says "oops, there was an error" without the bit that comes before and explains why. Scons build Error full code supplied - nipsilanti - 03-14-2009 Hi, Full code is supplied below. Any help would be greatly appreciated... nips@lian01:~/games/vdrift-2009-02-15$ scons 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 sh: svnversion: not found scons: done reading SConscript files. scons: Building targets ... g++ -o build/ai.o -c -Wall -Wextra -Wno-unused-parameter -O1 -pipe -march=athlon64 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -Ibullet-2.73/src -I/usr/include/SDL src/ai.cpp In file included from include/track_object.h:6, from include/track.h:17, from src/ai.cpp:4: include/collision_detection.h:13:37: error: btBulletCollisionCommon.h: No such file or directory In file included from include/track_object.h:6, from include/track.h:17, from src/ai.cpp:4: include/collision_detection.h:15: error: âbtCollisionWorldâ has not been declared include/collision_detection.h:15: error: expected `{' before âRayResultCallbackâ include/collision_detection.h:15: error: function definition does not declare parameters include/collision_detection.h:72: error: âbtCollisionObjectâ does not name a type include/collision_detection.h:73: error: ISO C++ forbids declaration of âbtBvhTriangleMeshShapeâ with no type include/collision_detection.h:73: error: expected â;â before â*â token include/collision_detection.h:74: error: ISO C++ forbids declaration of âbtTriangleIndexVertexArrayâ with no type include/collision_detection.h:74: error: expected â;â before â*â token include/collision_detection.h:87: error: ISO C++ forbids declaration of âbtCollisionObjectâ with no type include/collision_detection.h:87: error: expected â;â before â&â token include/collision_detection.h:89: error: expected `;' before âvoidâ include/collision_detection.h: In constructor âCOLLISION_OBJECT::COLLISION_OBJECT()â: include/collision_detection.h:83: error: class âCOLLISION_OBJECTâ does not have any field named âtrimeshâ include/collision_detection.h:83: error: class âCOLLISION_OBJECTâ does not have any field named âtrimesh_varrayâ include/collision_detection.h: At global scope: include/collision_detection.h:158: error: ISO C++ forbids declaration of âbtCollisionWorldâ with no type include/collision_detection.h:158: error: expected â;â before â*â token include/collision_detection.h:159: error: ISO C++ forbids declaration of âbtDefaultCollisionConfigurationâ with no type include/collision_detection.h:159: error: expected â;â before â*â token include/collision_detection.h:160: error: ISO C++ forbids declaration of âbtCollisionDispatcherâ with no type include/collision_detection.h:160: error: expected â;â before â*â token include/collision_detection.h:162: error: ISO C++ forbids declaration of âbtSimpleBroadphaseâ with no type include/collision_detection.h:162: error: expected â;â before â*â token include/collision_detection.h: In constructor âCOLLISION_WORLD::COLLISION_WORLD()â: include/collision_detection.h:171: error: class âCOLLISION_WORLDâ does not have any field named âidâ include/collision_detection.h:171: error: class âCOLLISION_WORLDâ does not have any field named âcollisionconfigâ include/collision_detection.h:171: error: class âCOLLISION_WORLDâ does not have any field named âcollisiondispatcherâ include/collision_detection.h:171: error: class âCOLLISION_WORLDâ does not have any field named âcollisionbroadphaseâ include/collision_detection.h: In member function âvoid COLLISION_WORLD:ebugPrint(std::ostream&)â: include/collision_detection.h:182: error: âidâ was not declared in this scope include/collision_detection.h: In member function âvoid COLLISION_WORLD:eletePhysicsObject(COLLISION_OBJECT*)â: include/collision_detection.h:192: error: âidâ was not declared in this scope include/collision_detection.h: In member function âvoid COLLISION_WORLD:eletePhysicsObject(COLLISION_OBJECT*, AABB<float>&)â: include/collision_detection.h:201: error: âidâ was not declared in this scope include/collision_detection.h: In member function âvoid COLLISION_WORLD::Clear()â: include/collision_detection.h:209: error: âidâ was not declared in this scope include/collision_detection.h:214: error: âbtCollisionObjectâ was not declared in this scope include/collision_detection.h:214: error: âcolobjâ was not declared in this scope include/collision_detection.h:214: error: âclass COLLISION_OBJECTâ has no member named âGetBulletObjectâ include/collision_detection.h: In member function âvoid COLLISION_WORLD::AddPhysicsObject(COLLISION_OBJECT&)â: include/collision_detection.h:225: error: âidâ was not declared in this scope include/collision_detection.h:249: error: âbtCollisionObjectâ was not declared in this scope include/collision_detection.h:249: error: âcolobjâ was not declared in this scope include/collision_detection.h:249: error: âclass COLLISION_OBJECTâ has no member named âGetBulletObjectâ scons: *** [build/ai.o] Error 1 scons: building terminated because of errors. - thelusiv - 03-14-2009 You are missing the Bullet library. You will need to umarchive it before compiling, please follow the directions here: http://wiki.vdrift.net/Compiling#Bullet |