Game Development Community

Can't Get It To Work (compilation)

by Pawel Stochlinski · in Torque Game Engine · 01/04/2005 (6:54 am) · 16 replies

Hi everyone, i've just got my Torque v12.

Since 6 hours, i'm trying finnaly to close that chapter and compile the engine to start working on My project - but all
i've made is nothing.

Let's look, as the tutorial says: "compile LIBs" i do so, but this !@#!@$ errors drive me crazy:

-------------[cut here]--------------
Compiling...
OpenGL2D3D.cc
d:\visualc\engines\torq2\lib\opengl2d3d\opengl2d3d.h(1167) : error C2146: syntax error : missing ';' before identifier 'glAreTexturesResident'
d:\visualc\engines\torq2\lib\opengl2d3d\opengl2d3d.h(1167) : error C2501: 'GLboolean' : missing storage-class or type specifiers
d:\visualc\engines\torq2\lib\opengl2d3d\opengl2d3d.h(1167) : error C2377: 'GLboolean' : redefinition; typedef cannot be overloaded with any other symbol
d:\visualc\engines\torq2\lib\opengl2d3d\opengl2d3d.h(25) : see declaration of 'GLboolean'
d:\visualc\engines\torq2\lib\opengl2d3d\opengl2d3d.h(1167) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
--------------[/cut here]---------------


I'm driving VC6.0 - i work with that everyday it works fine, i'm advanced programmer but haven't seen such stupid
problem since years. Besides if you look deeper to the opengl2d3d.h source, you can see the typedef
declaration of those GLbooleans, GLint's and so on.... Please, would you give me some advice?
Maybe i'm too old for that, but surely i can see that there is some big problem with the engine if it doesn't compile
at the first time??

#1
01/04/2005 (7:06 am)
Greetings!

Mike, according to your profile you don't own a Torque source license. Where did you get the source code from?

- LightWave Dave
#2
01/04/2005 (7:10 am)
Hi, i've bought that in the local shop in Peckham - London
#3
01/04/2005 (7:11 am)
And sorry if i get you wrong, but does the compilation proces has anything with my profile?
#4
01/04/2005 (7:15 am)
What he's getting at is that licenses are not transferrable, and the only legal location to get the source code for the Torque Gaming Engine is through purchase here at the web site.

What exactly did you buy? A CD with the source code, or the 3D Game Programming All In One book (which includes a CD with a pre-compiled demo engine compiled specifically for the exercises in the book itself).
#5
01/04/2005 (7:18 am)
I've bought a box with a torque engine, full SDK that owns about 150MBs on a CD.
#6
01/04/2005 (7:22 am)
As far as I am aware (and I don't work for GarageGames or anything), there is no legal distribution of TGE in a box format. It sounds like you may have gotten ripped off :(

Hopefully someone from GarageGames can jump in here soon and say if there are legal versions of the engine out in box format, but I've never heard anything about that in almost a year's worth of being in the community.
#7
01/04/2005 (7:24 am)
Hey it really looks like this is the 'real one' - i'm sure i haven't been ripped of..

Even then, does the opengl2d3d compile on Your PC well ?

I'm trying to figure out, what's wrong...
#8
01/04/2005 (7:25 am)
Opengl2d3d doesn't even need compilation. It's a .dll that's provided with the engine for use as a wrapper around D3D.
#9
01/04/2005 (7:28 am)
Stephen, so You do not compile /lib/* dir ?

I am reading the tutorial that says:

"The Libraries projects must be compiled before you can compile the v12 Engine project. Open the Libraries workspace in the /vc++ dir. Choose Build->Batch Build from the menus. This will compile all 4 projects at the same time. Make sure Selection only is checked and check all of the projects are checked in the build version (Release/Debug) you intend to build the v12 Engine project under.
"

Well, what's going on then?
#10
01/04/2005 (7:30 am)
Unfotunately because it doesn't show in your profile that you "own" legally TGE we really can't help you even though it looks like you were ripped off. You even have references in your docs to v12. Torque hasn't been called that in three years I think.

If you bought it through GG you would be able to post in the TGE private forums and i'm sure people would be glad to help you. I suggest maybe contacting GG and tell them the situation. Maybe report who sold it to you.
#11
01/04/2005 (7:35 am)
This is one of the reasons why I think you got scammed (although again, I could be wrong): The engine hasn't been called v12 for what, at least a couple of years?

I do stand corrected, the file is there in the lib, but I've never had an issue compiling it, nor have I heard reported anything in the last 9 months or so regarding having a problem with the libs.
#12
01/04/2005 (7:47 am)
Torque is not transferable, nor is it available on CD. A couple of years ago we shipped several hundred CD's, so it could look legitimate. But, the license to Torque is not transferable.
#13
01/04/2005 (8:06 am)
I have one of the Torque CD's Jeff mentioned, but that was a short-lived process as far as I know. I don't think I did anything with the CD since I had CVS access and had downloaded the engine before getting it as a hardcopy backup.

It sounds like you were, sadly, had. Which software store did you purchase it in? Are they often a reputable store (note that I've seen CD-ROM copies of Playstation games at Electronics Boutique before)?
#14
01/04/2005 (12:38 pm)
Allright, i got !@# up ;/

Could You please help me to buy the REAL torque please ?

If i click on Purchase, would engine be sent to my country (god please no... it will take months..) ?
Or special download link will guide me ?
#15
01/04/2005 (12:45 pm)
Downloads link.. It's honorable that you are willing to do so. Many people would just continue to use their illegal copy without another thought.

- Brett
#16
01/04/2005 (1:09 pm)
Brett, thank You.

With the full respect to the GarageGames dev. team, i'm now purchasing the new legal copy of Torque.

Thank You guys, for such a great Engine.