Compiling Problems, please help
by Mike Swatek · in Torque Game Engine · 08/08/2005 (2:28 pm) · 8 replies
I am having trouble compiling torque. I have DJGPP, Open Watcom, and Eclipse downloaded
but i cant figure out how to compile it. the torque build enviroment (eclipse came with it) is not working.
I dont have the buget to get visual c++.
What should i do?
but i cant figure out how to compile it. the torque build enviroment (eclipse came with it) is not working.
I dont have the buget to get visual c++.
What should i do?
#2
make.exe[2]: *** [out.GCC3.RELEASE/interior/interiorResObjects.obj] Error -1
--> Compiling interior/interiorSubObject.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/interiorSubObject.obj] Error -1
--> Compiling interior/lightUpdateGrouper.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/lightUpdateGrouper.obj] Error -1
--> Compiling interior/mirrorSubObject.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/mirrorSubObject.obj] Error -1
--> Compiling interior/pathedInterior.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/pathedInterior.obj] Error -1
--> Compiling math/mBox.cc
repeating for diffrent files over and over and finally ending with:
make.exe[1]: Target 'all' not remade because of errors.
make.exe: *** [tools] Error 2
make.exe: Target 'all' not remade because of errors.
08/08/2005 (3:15 pm)
It gives me :make.exe[2]: *** [out.GCC3.RELEASE/interior/interiorResObjects.obj] Error -1
--> Compiling interior/interiorSubObject.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/interiorSubObject.obj] Error -1
--> Compiling interior/lightUpdateGrouper.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/lightUpdateGrouper.obj] Error -1
--> Compiling interior/mirrorSubObject.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/mirrorSubObject.obj] Error -1
--> Compiling interior/pathedInterior.cc
make.exe[2]: *** [out.GCC3.RELEASE/interior/pathedInterior.obj] Error -1
--> Compiling math/mBox.cc
repeating for diffrent files over and over and finally ending with:
make.exe[1]: Target 'all' not remade because of errors.
make.exe: *** [tools] Error 2
make.exe: Target 'all' not remade because of errors.
#3
i am quite new at programming and haven't compiled anything more than a single .cpp file.
08/16/2005 (5:36 am)
I now have visual c++ toolbox as well but i cant find any guides on haw to use it, i am quite new at programming and haven't compiled anything more than a single .cpp file.
#4
In folder Torque\SDK\example there is torqueDemo.exe (same thing that you will get with your own compile). Just change the main.cs script file to execute different starting packages.
08/16/2005 (1:09 pm)
I am using the Visual C++ So i am not able to help you, but since you are new to programming I think that you should wait with compiling the engine and use precompiled exe.In folder Torque\SDK\example there is torqueDemo.exe (same thing that you will get with your own compile). Just change the main.cs script file to execute different starting packages.
#5
The second thing to check is to verify that your problem is not caused by Eclipse. To do this, go to a dos command prompt, navigate to the top of your c:/torque/SDK directory (or wherever your game lives), and type "make". That might give you the same errors, but at least then you'll know it's not an eclipse issue, and I find it generally easier to see the errors this way. If necessary, modify the prompt properties to make the buffer bigger, if you're missing text that flies off the top.
08/16/2005 (3:27 pm)
@Mike: How is it going? There are a couple of things to check off the list immediately. Number one: did you download the TGE 1.3 installer and start with that when you installed TBE? You can use TBE with other versions of torque but it's not all tested and guaranteed to work right "out of the box".The second thing to check is to verify that your problem is not caused by Eclipse. To do this, go to a dos command prompt, navigate to the top of your c:/torque/SDK directory (or wherever your game lives), and type "make". That might give you the same errors, but at least then you'll know it's not an eclipse issue, and I find it generally easier to see the errors this way. If necessary, modify the prompt properties to make the buffer bigger, if you're missing text that flies off the top.
#6
@chris: I used a fresh download of torque 1.3 and 1.4, with 1.4 it gave me the same errors plus some.
i got this error when trying to compile from dos with the copy of torque i used to try to compile:
"--> Compiling lpgn/pgn.c"
cc1.exe: error: invalid option 'win32'
cc1.exe: warning: "-fpermissive" is valid for C++ but not for C/ObjC
make.exe[1]: *** [out.gcc3.release/lpgn/pgn.obj] error 1
make.exe: *** [default] error 2
and i got this when i used a copy of torque eclipse hasn't touched:
Makefile:5: *** Configuration file not defined. please run c:/djgpp/bin/make.exe -f mk/configure.mk. stop
i tried running the make.exe file that it specified but it dosent do anything, i am starting to think that my djgpp(came with "C++ Without Fear" a beginner's book) is messing with eclipse somehow. I'll uninstall it, try eclipse again, and post the results.
thanks for your replies.
08/17/2005 (4:21 pm)
@denis: i am usind the default .exe, but i can't use most of the good resources on this site.@chris: I used a fresh download of torque 1.3 and 1.4, with 1.4 it gave me the same errors plus some.
i got this error when trying to compile from dos with the copy of torque i used to try to compile:
"--> Compiling lpgn/pgn.c"
cc1.exe: error: invalid option 'win32'
cc1.exe: warning: "-fpermissive" is valid for C++ but not for C/ObjC
make.exe[1]: *** [out.gcc3.release/lpgn/pgn.obj] error 1
make.exe: *** [default] error 2
and i got this when i used a copy of torque eclipse hasn't touched:
Makefile:5: *** Configuration file not defined. please run c:/djgpp/bin/make.exe -f mk/configure.mk. stop
i tried running the make.exe file that it specified but it dosent do anything, i am starting to think that my djgpp(came with "C++ Without Fear" a beginner's book) is messing with eclipse somehow. I'll uninstall it, try eclipse again, and post the results.
thanks for your replies.
#7
make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=RELEASE" (or BUILD=DEBUG)
Also, be sure you are calling the right make.exe, I notice it's going to a make.exe found in your djgpp directory. If necessary, go "C:\TBE\msys\1.0\bin\make -f mk/configure...(etc)"
(It's easier to modify your path locally so you don't have to type all that out.) That could also be your problem with the rest of the build.
08/17/2005 (4:51 pm)
Mike: did you run configure like this?make -f mk/configure.mk OS=WIN32 COMPILER=GCC3 BUILD=RELEASE" (or BUILD=DEBUG)
Also, be sure you are calling the right make.exe, I notice it's going to a make.exe found in your djgpp directory. If necessary, go "C:\TBE\msys\1.0\bin\make -f mk/configure...(etc)"
(It's easier to modify your path locally so you don't have to type all that out.) That could also be your problem with the rest of the build.
#8
apparently djgpp messes with eclipse somehow, but it is working now.
thanks for your help
-mike
08/17/2005 (6:12 pm)
Thanks for responding, i deleted the djgpp and reinstalled torque then eclipse and now it works!apparently djgpp messes with eclipse somehow, but it is working now.
thanks for your help
-mike
Associate David Montgomery-Blake
David MontgomeryBlake