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.