Compiling TGE with MinGW??? help
by Cordell Blakkan · in Torque Game Engine · 06/01/2003 (9:07 pm) · 12 replies
i need help compiling the TGE and i dont have VC++ from microsoft, can anyone help me?
#2
06/01/2003 (9:29 pm)
Thanks alot though im still having some errors during compiling i might be able to work them out XD
#3
and i get
Current Configuration: this config is VALID
OS: WIN32
COMPILER: GCC3 *ive tried GCC2
BUILD: DEBUG
DIR.OBJ: C:torqueobj_tempmake
To change the current configuration type:
make -f mk/configure.mk {arguments, ...}
required arguments:
OS={WIN32 BEOS LINUX OpenBSD}
COMPILER={CW6 VC6 GCC2 GCC3}
BUILD={DEBUG RELEASE}
optional arguments:
DIR.OBJ={path to store intermediate obj files}
Note: all arguments are case sensitive.
anyone help????
Coodiss
06/01/2003 (9:34 pm)
$ make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=DEBUGand i get
Current Configuration: this config is VALID
OS: WIN32
COMPILER: GCC3 *ive tried GCC2
BUILD: DEBUG
DIR.OBJ: C:torqueobj_tempmake
To change the current configuration type:
make -f mk/configure.mk {arguments, ...}
required arguments:
OS={WIN32 BEOS LINUX OpenBSD}
COMPILER={CW6 VC6 GCC2 GCC3}
BUILD={DEBUG RELEASE}
optional arguments:
DIR.OBJ={path to store intermediate obj files}
Note: all arguments are case sensitive.
anyone help????
Coodiss
#4
06/02/2003 (9:08 am)
You got the first step right... that just configures all the options. After that, you just need to type "make" and then wait for at least 20 minutes while it compiles. Good luck!
#5
IN short, the make I have (from MinGW bundle) seems unhappy with the make scripts that I downloaded. While I may be able to hack and make things work, it doesn't seem like people have had to do much of that. So is there something basic I'm missing (and not seeing in the forums posts)?
Here's the details, if interested:
For the record: I asked for HEAD when I CVSed, which I think is the right choice, yes?
First Issue: when I
Then the Make seems to at least start, but brings me to:
Issue Two:
The Make has problems, starting with
followed by lots of overrides and ignores, and ending with
geh.
06/08/2003 (6:24 pm)
Hello, I'm having trouble with the above-mentioned MinGW build, and would appreciate any advice. I have MinGW installed, added to my PATH, and have compiled a typical "hello world". Other than that, I haven't used a windows toolchain in some time, so I'm almost certainly doing something stoopid. IN short, the make I have (from MinGW bundle) seems unhappy with the make scripts that I downloaded. While I may be able to hack and make things work, it doesn't seem like people have had to do much of that. So is there something basic I'm missing (and not seeing in the forums posts)?
Here's the details, if interested:
For the record: I asked for HEAD when I CVSed, which I think is the right choice, yes?
First Issue: when I
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=DEBUG, I get a mk/conf.mk that seems faulty. I think the trouble is resolved when I fix the line in configure.mk
@echo ifeq \"$(BUILD)\" \"DEBUG\" >> mk/conf.mkso that the conditional in the output has a paren and a comma.
Then the Make seems to at least start, but brings me to:
Issue Two:
The Make has problems, starting with
Makefile:17: ../mk/conf.GCC3: No such file or directory Makefile:17: .WIN32: No such file or directory Makefile:17: .mk: No such file or directory Makefile:18: ../mk/conf.GCC3: No such file or directory Makefile:18: .mk: No such file or directory
followed by lots of overrides and ignores, and ending with
make[1]: *** No rule to make target '%.rc', needed by 'out.GCC3.DEBUG'. Stop. make: *** [default] Error 2
geh.
#6
Maybe retry updating the HEAD, and choose "get clean copy" to make sure. Look in your mk dir to see if you have this file : "conf.GCC3.WIN32.mk" . If not, you're not up to date.
06/09/2003 (5:00 am)
To compile with MinGW (msys) latest, you can only build the HEAD (I think). Cordell had the exact same problem and it was with RELEASE_1_1_2 (Note: you can build RELEASE_1_1_2 with GCC2).Maybe retry updating the HEAD, and choose "get clean copy" to make sure. Look in your mk dir to see if you have this file : "conf.GCC3.WIN32.mk" . If not, you're not up to date.
#7
I see you mention MSYS, which is interesting. I only installed MinGW, incl. GCC and Make. Do I need MSYS as a seperate install?
Again, I suspect the trouble is with my toolchain since other's don't seem to have these problems. Could someone maybe post a list of the installs they'd do on a 'blank' system?
All I've done is:
Is there something basic I'm missing or doing wrong?
Thanks for the response!
06/09/2003 (7:43 am)
hmm...I do have the "conf.GCC3.WIN32.mk" file, and asked for HEAD when CVSing, so I think I'm current. (BTW, where can I find that version number though).I see you mention MSYS, which is interesting. I only installed MinGW, incl. GCC and Make. Do I need MSYS as a seperate install?
Again, I suspect the trouble is with my toolchain since other's don't seem to have these problems. Could someone maybe post a list of the installs they'd do on a 'blank' system?
All I've done is:
install MinGW-2.0.0-3.exe (& added ~MinGW\bin\ to PATH) (& copied mingw32-make.exe to make.exe) CVS /cvs/torque, requested "HEAD" (& copied to working directory) make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=DEBUG (which required the above edits to configure.mk)... make (blech)
Is there something basic I'm missing or doing wrong?
Thanks for the response!
#8
I never tryed without MSYS so I cannot tell. Maybe someone else can tell you. With MSYS, I do not need any modifications and I can compile the HEAD like it is.
What I do,
1- Install MinGW-2.0.0-3.exe
2- Install MSYS-1.0.8-2002.09.07-1.exe
(follow the instructions for your MinGW path, etc...)
3- Run MSYS
- Go into my dir. exemple:
cd c:\torque)
- do the mk config
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=DEBUG
- then do compile
make
06/09/2003 (8:04 am)
Scot,I never tryed without MSYS so I cannot tell. Maybe someone else can tell you. With MSYS, I do not need any modifications and I can compile the HEAD like it is.
What I do,
1- Install MinGW-2.0.0-3.exe
2- Install MSYS-1.0.8-2002.09.07-1.exe
(follow the instructions for your MinGW path, etc...)
3- Run MSYS
- Go into my dir. exemple:
cd c:\torque)
- do the mk config
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=DEBUG
- then do compile
make
#9
I've seen mention of "starting MinGW" before compiling, which didn't make sense to me. But as I understand it, MSYS is a UNIX shell type environment, which would need to be "started". And it would explain the behavior I was seeing where the Make wasn't playing nicely with the source.
I'll try it when I get home today, and if it works, write up a detailed page for total newbies, to try and "give some back".
Thanks much, I'll post results this evening either way.
06/09/2003 (10:21 am)
I bet that's it.I've seen mention of "starting MinGW" before compiling, which didn't make sense to me. But as I understand it, MSYS is a UNIX shell type environment, which would need to be "started". And it would explain the behavior I was seeing where the Make wasn't playing nicely with the source.
I'll try it when I get home today, and if it works, write up a detailed page for total newbies, to try and "give some back".
Thanks much, I'll post results this evening either way.
#10
06/09/2003 (9:14 pm)
ahhhh....that seems to have done very nicely. Thanks a lot.
#11
Gilles Jr
06/10/2003 (4:33 am)
No problems. I'm happy you've made it. It's when it compiles that the fun begin :) Your idea is good to explain this maybe more "detailed page for total newbies" for the futur users and save them some headaches. Good luck with your project.Gilles Jr
#12
07/01/2003 (4:02 am)
Ugh... I get to a point where it says that the configurations are valid, and then I type 'make' and it tries to compile, but every time it tries to compile something, it says "command not found" i really need some help. Maybe Ill try the IRC chat if I cant figure this out soon.
Torque Owner Gilles Jr Lafrance
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=8107