The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
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:Big GrinebugPrint(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:Big GrineletePhysicsObject(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:Big GrineletePhysicsObject(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