Game Development Community

Torque working with Dev-C++ (newest) ?

by Alexander Nobbe · in Torque Game Engine · 12/30/2003 (5:38 pm) · 3 replies

Hi there,

i tried to get Torque compiled with Dev-C++, but sadly i doesn't work at all. I searched the forums for some hints but found none to fix it, it gives me a lot of errors when i try to compile the torque demo. Anyone got this working already ?

Thanks anyway,

Alexander

#1
12/30/2003 (7:04 pm)
Could you post an excerpt of the errors?
The latest DevC++ uses minGW correct?

Looks like DevC++ is using the Makefile generated by vc6, at least it is reporting an issue with torque\vc6\Makefile.win. I did not see any place within DevC++ to change what Makefile it is to use.

Have you taken a look at useing Eclipse? I posted a resource and a howto to get setup and compiling TGE.

-Ron
#2
12/30/2003 (8:15 pm)
You can't import Torque into DevC++ it just won't handle the size of the project. the compiler that DevC++ uses Mingw should compile Torque no problem, at least it used to.
#3
12/31/2003 (3:35 am)
Hi,

here's the compiler log (german)

Compiler: Default compiler
Building Makefile: "F:\Torque Engine\HEAD\torque\vc6\Makefile.win"
Führt  make clean aus
rm -f ../tools/map2dif/bspNode.o ../tools/map2dif/createLightmaps.o ../tools/map2dif/csgBrush.o ../tools/map2dif/editFloorPlanRes.o ../tools/map2dif/editGeometry.o ../tools/map2dif/editInteriorRes.o ../tools/map2dif/entityTypes.o ../tools/map2dif/exportGeometry.o ../tools/map2dif/lmapPacker.o ../tools/map2dif/main.o ../tools/map2dif/morianUtil.o ../tools/map2dif/navGraph.o ../tools/map2dif/tokenizer.o  map2dif.exe

g++.exe -c ../tools/map2dif/bspNode.cc -o ../tools/map2dif/bspNode.o -I"F:/Torque Engine/Dev-Cpp/include/c++"  -I"F:/Torque Engine/Dev-Cpp/include/c++/mingw32"  -I"F:/Torque Engine/Dev-Cpp/include/c++/backward"  -I"F:/Torque Engine/Dev-Cpp/include"  -I"../engine"  -I"../lib/zlib"  -I"../lib/lungif"  -I"../lib/lpng"  -I"../lib/ljpeg"  -I"../lib/openal/win32"  -I"../tools" -D__GNUWIN32__ -fexceptions  

../tools/map2dif/bspNode.cc: In member function 'U32 
   EditBSPNode::selectBestPlane()':
../tools/map2dif/bspNode.cc:786: warning: initialization to 'U32' from 'F32'
../tools/map2dif/bspNode.cc:786: warning: argument to 'unsigned int' from 'F32'

g++.exe -c ../tools/map2dif/createLightmaps.cc -o ../tools/map2dif/createLightmaps.o -I"F:/Torque Engine/Dev-Cpp/include/c++"  -I"F:/Torque Engine/Dev-Cpp/include/c++/mingw32"  -I"F:/Torque Engine/Dev-Cpp/include/c++/backward"  -I"F:/Torque Engine/Dev-Cpp/include"  -I"../engine"  -I"../lib/zlib"  -I"../lib/lungif"  -I"../lib/lpng"  -I"../lib/ljpeg"  -I"../lib/openal/win32"  -I"../tools" -D__GNUWIN32__ -fexceptions  

../tools/map2dif/createLightmaps.cc: In member function 'void 

   EditGeometry::computeLightmaps(bool)':
../tools/map2dif/createLightmaps.cc:2366: warning: passing 'F32' for argument 1 
   of 'ColorI::ColorI(unsigned char, unsigned char, unsigned char, unsigned 
   char)'
../tools/map2dif/createLightmaps.cc:2366: warning: passing 'F32' for argument 2 
   of 'ColorI::ColorI(unsigned char, unsigned char, unsigned char, unsigned 
   char)'
../tools/map2dif/createLightmaps.cc:2366: warning: passing 'F32' for argument 3 
   of 'ColorI::ColorI(unsigned char, unsigned char, unsigned char, unsigned 
   char)'

g++.exe -c ../tools/map2dif/csgBrush.cc -o ../tools/map2dif/csgBrush.o -I"F:/Torque Engine/Dev-Cpp/include/c++"  -I"F:/Torque Engine/Dev-Cpp/include/c++/mingw32"  -I"F:/Torque Engine/Dev-Cpp/include/c++/backward"  -I"F:/Torque Engine/Dev-Cpp/include"  -I"../engine"  -I"../lib/zlib"  -I"../lib/lungif"  -I"../lib/lpng"  -I"../lib/ljpeg"  -I"../lib/openal/win32"  -I"../tools" -D__GNUWIN32__ -fexceptions  

g++.exe -c ../tools/map2dif/editFloorPlanRes.cc -o ../tools/map2dif/editFloorPlanRes.o -I"F:/Torque Engine/Dev-Cpp/include/c++"  -I"F:/Torque Engine/Dev-Cpp/include/c++/mingw32"  -I"F:/Torque Engine/Dev-Cpp/include/c++/backward"  -I"F:/Torque Engine/Dev-Cpp/include"  -I"../engine"  -I"../lib/zlib"  -I"../lib/lungif"  -I"../lib/lpng"  -I"../lib/ljpeg"  -I"../lib/openal/win32"  -I"../tools" -D__GNUWIN32__ -fexceptions  

g++.exe -c ../tools/map2dif/editGeometry.cc -o ../tools/map2dif/editGeometry.o -I"F:/Torque Engine/Dev-Cpp/include/c++"  -I"F:/Torque Engine/Dev-Cpp/include/c++/mingw32"  -I"F:/Torque Engine/Dev-Cpp/include/c++/backward"  -I"F:/Torque Engine/Dev-Cpp/include"  -I"../engine"  -I"../lib/zlib"  -I"../lib/lungif"  -I"../lib/lpng"  -I"../lib/ljpeg"  -I"../lib/openal/win32"  -I"../tools" -D__GNUWIN32__ -fexceptions  


../engine/platform/platform.h:407: confused by earlier errors, bailing out

make.exe: *** [../tools/map2dif/exportGeometry.o] Error 1

Ausführung beendet

As i'm new to Dev-C++ i'm a little confused about it's handling, may be anyone could help ?

Anyway i tried Eclipse but after it ran once it now doesn't work anymore...really strange ;)

Thanks for any help,
Alexander

PS: It uses Mingw/GCC 3.2