MingW help?
by Animesh Karna · in Torque Game Engine · 06/25/2003 (6:00 pm) · 1 replies
I am trying to build Torque using the latest MingW/MSYS environment (running under WinXP). I am using the latest snapshot of Torque, downloaded from CVS. TorqueDemo compiles fine, but I am noticing an error in map2dif (I presume there are other problems, but this is the first that I have encountered).
First, I did the following (within MSYS):
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=RELEASE
make clean
make all
The error I encounter is:
--> Compiling map2dif/exportGeometry.cc
In file included from ../engine/platform/platform.h:14,
from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platformAssert.h:31: type specifier omitted for parameter '
U32'
../engine/platform/platformAssert.h:31: parse error before ',' token
../engine/platform/platformAssert.h:41: type specifier omitted for parameter '
U32'
../engine/platform/platformAssert.h:41: parse error before ',' token
In file included from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platform.h:136:2: #error "Endian define not set"
In file included from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platform.h:215: 'U32' was not declared in this scope
../engine/platform/platform.h:215: parse error before ',' token
../engine/platform/platform.h:222: 'U8' is used as a type, but is not defined
as a type.
../engine/platform/platform.h:223: 'U8' is used as a type, but is not defined
as a type.
../engine/platform/platform.h:224: 'U8' is used as a type, but is not defined
and so on.
Has anyone encountered this? Is there a fix? Thanks!
--Animesh
First, I did the following (within MSYS):
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=RELEASE
make clean
make all
The error I encounter is:
--> Compiling map2dif/exportGeometry.cc
In file included from ../engine/platform/platform.h:14,
from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platformAssert.h:31: type specifier omitted for parameter '
U32'
../engine/platform/platformAssert.h:31: parse error before ',' token
../engine/platform/platformAssert.h:41: type specifier omitted for parameter '
U32'
../engine/platform/platformAssert.h:41: parse error before ',' token
In file included from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platform.h:136:2: #error "Endian define not set"
In file included from map2dif/editGeometry.h:11,
from map2dif/exportGeometry.cc:10:
../engine/platform/platform.h:215: 'U32' was not declared in this scope
../engine/platform/platform.h:215: parse error before ',' token
../engine/platform/platform.h:222: 'U8' is used as a type, but is not defined
as a type.
../engine/platform/platform.h:223: 'U8' is used as a type, but is not defined
as a type.
../engine/platform/platform.h:224: 'U8' is used as a type, but is not defined
and so on.
Has anyone encountered this? Is there a fix? Thanks!
--Animesh
Torque 3D Owner Nick "Dig" Koirala
LittleMonkey Ltd.