Game Development Community

Help! Cannot get complie of Torque to work

by Ajani Zanter · in Torque Game Engine · 03/04/2003 (9:20 pm) · 2 replies

I downloaded through CVS Torque 1.1 (before I knew you could type in 1_1_2 and I get complie errors. I have followed the documentation on who to compile using VS6.0 (I have the reg updated with .cc; direct X9.0) but when I try to complie the Demo I get the following errors below:

Compiling...
OpenGL2D3D.cc
..\lib\opengl2d3d/opengl2d3d.h(1165) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1165) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1166) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1166) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1167) : error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
..\lib\opengl2d3d/opengl2d3d.h(1167) : warning C4229: anachronism used : modifiers on data are ignored
..\lib\opengl2d3d/opengl2d3d.h(1167) : error C2501: 'GLboolean' : missing storage-class or type specifiers
..\lib\opengl2d3d/opengl2d3d.h(1167) : error C2377: 'GLboolean' : redefinition; typedef cannot be overloaded with any other symbol
..\lib\opengl2d3d/opengl2d3d.h(25) : see declaration of 'GLboolean'
..\lib\opengl2d3d/opengl2d3d.h(1167) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

torqueDemo.exe - 4 error(s), 5 warning(s)


- Please help a newbie! I have searched all over the forums and cannot find a similar issue that has been addressed.

#1
03/05/2003 (3:31 am)
First and foremost make sure you update your source tree to 1_1_2 ASAP. Then if you're still having issues make sure that you've imported the "VC6 .cc compiling.reg" file found in torque\VC6 into your registry.

If after those two steps you're still having compile problems post what they are and someone will try to help you.
#2
03/05/2003 (4:07 pm)
I GOT it too work! It was the wrong file I downloaded. Thanks for your help.