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