Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
motion simulator
12-13-2007, 11:50 PM,
#9
 
i tried your method of scons and mingw and got an error of:
Code:
C:\vdrift>"C:\program files\Python
25\Scripts\scons.bat"
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `build\vamos\body\Aerodynamic_Device.o' is up to date.
scons: `build\vamos\body\Brake.o' is up to date.
g++.exe -o build\vamos\body\Car.o -c -Wall -O2 -mwindows -g3 -D_REENTRANT -Iincl
ude -Itools\win\include src\vamos\body\Car.cc
In file included from include/objects.h:10,
                 from include/track.h:28,
                 from include/vamosworld.h:42,
                 from include/game.h:25,
                 from src\vamos\body\Car.cc:36:
include/physics.h:22:37: btBulletCollisionCommon.h: No such file or directory
In file included from include/objects.h:10,
                 from include/track.h:28,
                 from include/vamosworld.h:42,
                 from include/game.h:25,
                 from src\vamos\body\Car.cc:36:
include/physics.h:31: error: `btCollisionWorld' has not been declared
include/physics.h:32: error: expected class-name before '{' token
include/physics.h:33: error: expected `,' or `...' before '&' token
include/physics.h:33: error: ISO C++ forbids declaration of `btVector3' with no
type
include/physics.h:34: error: `btVector3' does not name a type
include/physics.h:35: error: `btVector3' does not name a type
include/physics.h:37: error: `btCollisionWorld' has not been declared
include/physics.h:37: error: `LocalRayResult' was not declared in this scope
include/physics.h:37: error: template argument 1 is invalid
include/physics.h:37: error: template argument 2 is invalid
include/physics.h:37: error: ISO C++ forbids declaration of `results' with no ty
pe
include/physics.h:39: error: `btScalar' does not name a type
include/physics.h: In constructor `MultipleRayResultCallback::MultipleRayResultC
allback(int)':
include/physics.h:33: error: class `MultipleRayResultCallback' does not have any
field named `m_rayFromWorld'
include/physics.h:33: error: `rayFromWorld' was not declared in this scope
include/physics.h:33: error: class `MultipleRayResultCallback' does not have any
field named `m_rayToWorld'
include/physics.h:33: error: `rayToWorld' was not declared in this scope
include/physics.h:33: warning: unused variable 'rayFromWorld'
include/physics.h:33: warning: unused variable 'rayToWorld'
include/physics.h: At global scope:
include/physics.h:120: error: ISO C++ forbids declaration of `btCollisionWorld'
with no type
include/physics.h:120: error: expected `;' before '*' token
include/physics.h:121: error: `btCollisionObject' does not name a type
include/physics.h:122: error: ISO C++ forbids declaration of `btBvhTriangleMeshS
hape' with no type
include/physics.h:122: error: expected `;' before '*' token
include/physics.h:123: error: ISO C++ forbids declaration of `btTriangleIndexVer
texArray' with no type
include/physics.h:123: error: expected `;' before '*' token
include/physics.h:138: error: ISO C++ forbids declaration of `btCollisionObject'
with no type
include/physics.h:138: error: expected `;' before '&' token
include/physics.h:140: error: expected `;' before "void"
include/physics.h:158: error: `btCollisionWorld' has not been declared
include/physics.h:158: error: ISO C++ forbids declaration of `nw' with no type
include/physics.h: In constructor `PHYSICSOBJECT::PHYSICSOBJECT()':
include/physics.h:135: error: class `PHYSICSOBJECT' does not have any field name
d `worldid'
include/physics.h:135: error: class `PHYSICSOBJECT' does not have any field name
d `trimesh'
include/physics.h:135: error: class `PHYSICSOBJECT' does not have any field name
d `trimesh_varray'
include/physics.h: In member function `void PHYSICSOBJECT::SetBulletWorld(int*)'
:
include/physics.h:158: error: `worldid' was not declared in this scope
include/physics.h:158: warning: unused variable 'worldid'
include/physics.h: At global scope:
include/physics.h:236: error: ISO C++ forbids declaration of `btCollisionWorld'
with no type
include/physics.h:236: error: expected `;' before '*' token
include/physics.h:237: error: ISO C++ forbids declaration of `btDefaultCollision
Configuration' with no type
include/physics.h:237: error: expected `;' before '*' token
include/physics.h:238: error: ISO C++ forbids declaration of `btCollisionDispatc
her' with no type
include/physics.h:238: error: expected `;' before '*' token
include/physics.h:239: error: ISO C++ forbids declaration of `btAxisSweep3' with
no type
include/physics.h:239: error: expected `;' before '*' token
include/physics.h: In constructor `PHYSICS::PHYSICS()':
include/physics.h:252: error: class `PHYSICS' does not have any field named `id'

include/physics.h:252: error: class `PHYSICS' does not have any field named `col
lisionconfig'
include/physics.h:252: error: class `PHYSICS' does not have any field named `col
lisiondispatcher'
include/physics.h:252: error: class `PHYSICS' does not have any field named `col
lisionbroadphase'
scons: *** [build\vamos\body\Car.o] Error 1
scons: building terminated because of errors.

please help; appears to be a bad physics.h
Reply


Messages In This Thread
motion simulator - by silverhawk_184 - 12-10-2007, 01:16 AM
[No subject] - by silverhawk_184 - 12-10-2007, 08:23 AM
[No subject] - by Kricor - 12-10-2007, 09:36 PM
[No subject] - by silverhawk_184 - 12-13-2007, 12:08 AM
[No subject] - by silverhawk_184 - 12-13-2007, 10:50 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-13-2007, 11:12 AM
[No subject] - by silverhawk_184 - 12-13-2007, 01:37 PM
[No subject] - by silverhawk_184 - 12-13-2007, 11:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-14-2007, 02:12 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-14-2007, 02:14 AM
[No subject] - by silverhawk_184 - 12-14-2007, 05:05 PM
[No subject] - by bugsyv - 12-15-2007, 05:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-15-2007, 06:50 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-15-2007, 08:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-15-2007, 08:17 PM
[No subject] - by thelusiv - 12-17-2007, 05:39 AM
[No subject] - by thelusiv - 12-17-2007, 05:45 AM
[No subject] - by silverhawk_184 - 12-17-2007, 02:43 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-17-2007, 03:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-17-2007, 03:35 PM
[No subject] - by thelusiv - 12-17-2007, 06:17 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-17-2007, 08:05 PM
[No subject] - by silverhawk_184 - 04-01-2008, 01:31 AM
[No subject] - by thelusiv - 04-01-2008, 02:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)