Game Development Community

Win Gcc

by Christopher Corsi · in Torque Game Engine · 07/17/2004 (6:47 pm) · 10 replies

I was reading some articles about Torque and I saw that you can compile Torque with GCC, Visual C++ or (can't remember). But the only one I have is GCC and I can't afford Visual C++. So I'm asking if you can compile Torque in GCC on Windows, since all I have found are guides for VC++ for windows and GCC for Linux.

If not, how could I compile it?

#1
07/17/2004 (6:55 pm)
I think most people use MinGW variant to compile GCC on windows: www.mingw.org/. If you search around the site I think you can find some info on compiling Torque with it.
#2
07/17/2004 (7:16 pm)
That's what Dev-C++ comes with, isn't it? Have that too :).
#3
07/17/2004 (7:36 pm)
Apparently, the Dev-C++ IDE doesn't like compiling Torque as there are too many files for it to handle easily.

I used MSYS with MinGW, both of which are available from the site Owen linked to. Check this thread for instructions on using them.

The post near the bottom by Jeff "SlapCoder" Houck explains it quite clearly (ignore the earlier posts about using Eclipse, that's a more complex process).
#4
07/17/2004 (8:17 pm)
I use the msys/mingw combination to compile the TGE CVS without any problems...

Don't try to compile the whole TGE CVS tree from Dev C++ as it's a PITA and takes A LOT of setting up. Use the command line in msys to compile the TGE code, and Dev C++ to work on individual modules would be my advise.
#5
07/19/2004 (3:06 am)
WOW. Thanks a lot. I finally compiled TORQUE! I've wanted to do this all my life - well at least the last 1/10th of it. Now I can actually make use of my used-to-be $100 waste. Used to be.
#6
07/19/2004 (5:32 am)
Good on you Chris! Now, let's see some killer game action! 8^)
#7
07/19/2004 (6:22 am)
Also have a search through the resources for (shameless plug) the eclipse resource

-ron
#8
07/30/2004 (11:17 am)
Hmm. Looks like I should have asked my question here. I asked over in the "Programming" forum what other C++ compilers people have used besides Visual C++ for Windows and gcc for Linux.

So msys/mingw works, from the CL but not from the IDE. That's good to know. What about DJGPP?

Ray
#9
07/31/2004 (12:15 am)
Quote:
What about DJGPP?

DJGPP is a gcc port to DOS, not Win32. So, no (although if someone were keen on wasting a great deal of time they could introduce a platformDOS directory to the source tree, implement interfaces to the DOS port of Mesa and a DOS audio library, and see what comes out of it) Cygwin is another Win32 gcc port that should compile Torque.
#10
08/12/2004 (1:12 am)
Thanks for the pointers. I've used MinGW/MSYS successfully; will look at Cygwin next.