Cant compile torque
by DylanProudfoot · in Technical Issues · 02/05/2005 (6:58 am) · 6 replies
Ihi i was givin torque for a birthday present the other day and desided to get into it today
bu tim having a problem compliling the demo sdk,which i want to try mod
this is the error i get
penGL2D3D.cc
..\lib\opengl2d3d/opengl2d3d.h(1168) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1168) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1168) : error C2556: 'int __stdcall glAccum(unsigned int,float)' : overloaded function differs only by return type from 'void __stdcall glAccum(unsigned int,float)'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1152) : see declaration of 'glAccum'
..\lib\opengl2d3d/opengl2d3d.h(1168) : error C2371: 'glAccum' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1152) : see declaration of 'glAccum'
..\lib\opengl2d3d/opengl2d3d.h(1169) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1169) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1169) : error C2556: 'int __stdcall glAlphaFunc(unsigned int,float)' : overloaded function differs only by return type from 'void __stdcall glAlphaFunc(unsigned int,float)'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1153) : see declaration of 'glAlphaFunc'
..\lib\opengl2d3d/opengl2d3d.h(1169) : error C2371: 'glAlphaFunc' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1153) : see declaration of 'glAlphaFunc'
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
..\lib\opengl2d3d/opengl2d3d.h(1170) : warning C4229: anachronism used : modifiers on data are ignored
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2501: 'GLboolean' : missing storage-class or type specifiers
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2377: 'GLboolean' : redefinition; typedef cannot be overloaded with any other symbol
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(44) : see declaration of 'GLboolean'
..\lib\opengl2d3d/opengl2d3d.h(1170) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
torqueDemo.exe - 8 error(s), 5 warning(s)
anu on eknow how to fix this
bu tim having a problem compliling the demo sdk,which i want to try mod
this is the error i get
penGL2D3D.cc
..\lib\opengl2d3d/opengl2d3d.h(1168) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1168) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1168) : error C2556: 'int __stdcall glAccum(unsigned int,float)' : overloaded function differs only by return type from 'void __stdcall glAccum(unsigned int,float)'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1152) : see declaration of 'glAccum'
..\lib\opengl2d3d/opengl2d3d.h(1168) : error C2371: 'glAccum' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1152) : see declaration of 'glAccum'
..\lib\opengl2d3d/opengl2d3d.h(1169) : warning C4518: 'void ' : storage-class or type specifier(s) unexpected here; ignored
..\lib\opengl2d3d/opengl2d3d.h(1169) : warning C4230: anachronism used : modifiers/qualifiers interspersed, qualifier ignored
..\lib\opengl2d3d/opengl2d3d.h(1169) : error C2556: 'int __stdcall glAlphaFunc(unsigned int,float)' : overloaded function differs only by return type from 'void __stdcall glAlphaFunc(unsigned int,float)'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1153) : see declaration of 'glAlphaFunc'
..\lib\opengl2d3d/opengl2d3d.h(1169) : error C2371: 'glAlphaFunc' : redefinition; different basic types
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(1153) : see declaration of 'glAlphaFunc'
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
..\lib\opengl2d3d/opengl2d3d.h(1170) : warning C4229: anachronism used : modifiers on data are ignored
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2501: 'GLboolean' : missing storage-class or type specifiers
..\lib\opengl2d3d/opengl2d3d.h(1170) : error C2377: 'GLboolean' : redefinition; typedef cannot be overloaded with any other symbol
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\gl/gl.h(44) : see declaration of 'GLboolean'
..\lib\opengl2d3d/opengl2d3d.h(1170) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
torqueDemo.exe - 8 error(s), 5 warning(s)
anu on eknow how to fix this
#2
-Jeff Tunnell GG
02/05/2005 (3:14 pm)
Torque licenses are not transferable. Who have you the copy?-Jeff Tunnell GG
#3
02/05/2005 (9:56 pm)
Friend bought it for me. for my 16th birthday present
#4
02/05/2005 (11:27 pm)
Bob, sorry that is not allowed by the EULA. Check out your MyGarage. It does not show that you own Torque. Until you own it, you cannot be using the source code or compiling Torque.
#5
02/06/2005 (1:21 am)
Fuck that im gonna use it and make game swith it andmake lots of money lol joking and sorry ill bye a leagal copy!
#6
I have a feeling we will be seeing alot more "Bob's" this year..
02/06/2005 (3:48 am)
What a start to a new year..I have a feeling we will be seeing alot more "Bob's" this year..
William Finlayson