TBE Error :(
by Mark Joyal · in Torque Game Engine · 05/01/2005 (5:54 pm) · 11 replies
I posted this on the TBE resource itself but given that I'm totally stuck I'm hoping that you don't mind the cross-post.
I have a problem getting this (TBE) to compile and link Torque. I installed Torque and the TBE to the default locations and yet when I try to rebuild the project I get:
Severity Description Resource In Folder Location Creation Time
2 cPrecipitationmodifyStorm * In function 'void Torque line 0 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 89 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 90 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 91 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 92 May 1, 2005 8:32:50 PM
2 winV2Video.cc Torque/engine/platformWin32 line 10 May 1, 2005 8:32:50 PM
Which as you can see isn't very helpful as there is no error messages telling me what went wrong. It seems to center around the following includes:
#include "platform/GLCoreFunc.h"
#include "platform/GLExtFunc.h"
#include "platform/GLUFunc.h"
#include "platformWin32/GLWinFunc.h"
-or-
#include "platform/3Dfx.h"
or at least thats where Eclipse is putting the little red x. I've checked the include files existance and they seem to be right where they are supposed to be although I did get 2 'warnings' from those files:
Severity Description Resource In Folder Location Creation Time
1 #warning define FX_ENTRY & FX_CALL for your compiler 3Dfx.h Torque/engine/platform line 80 May 1, 2005 8:32:50 PM
1 'dllglAccum' initialized and declared GLCoreFunc.h Torque/engine/platform line 7 May 1, 2005 8:32:50 PM
I'm at a total loss on how to proceed so any help would be appreciated.
I have a problem getting this (TBE) to compile and link Torque. I installed Torque and the TBE to the default locations and yet when I try to rebuild the project I get:
Severity Description Resource In Folder Location Creation Time
2 cPrecipitationmodifyStorm * In function 'void Torque line 0 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 89 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 90 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 91 May 1, 2005 8:32:50 PM
2 winGL.cc Torque/engine/platformWin32 line 92 May 1, 2005 8:32:50 PM
2 winV2Video.cc Torque/engine/platformWin32 line 10 May 1, 2005 8:32:50 PM
Which as you can see isn't very helpful as there is no error messages telling me what went wrong. It seems to center around the following includes:
#include "platform/GLCoreFunc.h"
#include "platform/GLExtFunc.h"
#include "platform/GLUFunc.h"
#include "platformWin32/GLWinFunc.h"
-or-
#include "platform/3Dfx.h"
or at least thats where Eclipse is putting the little red x. I've checked the include files existance and they seem to be right where they are supposed to be although I did get 2 'warnings' from those files:
Severity Description Resource In Folder Location Creation Time
1 #warning define FX_ENTRY & FX_CALL for your compiler 3Dfx.h Torque/engine/platform line 80 May 1, 2005 8:32:50 PM
1 'dllglAccum' initialized and declared GLCoreFunc.h Torque/engine/platform line 7 May 1, 2005 8:32:50 PM
I'm at a total loss on how to proceed so any help would be appreciated.
#2
05/02/2005 (4:25 pm)
OK found out some more info. Apparently it DOES actually link TorqueDemo.exe but still registers errors on those 2 files??? Very strange. Oh and it loses the icon somewhere along the line. So I guess it's working...sort of... I'd like to get it to compile without the errors however so I'm still hoping someone with more experience can help me figure this out. Any takers?
#3
05/02/2005 (5:17 pm)
You should e-mail Chris Calef about this. chrisc@garagegames.com, I believe. Ron Yacketta might also be able to help you out, he's pretty sharp with this TBE thing.
#4
05/02/2005 (5:27 pm)
Thanks Ben, I'll give that a try. In the meantime I can just start working with the version it did build I guess.
#5
05/02/2005 (6:10 pm)
What revision of TGE? 1.3 or 1.4?
#6
I blew away my entire TGE dir, mysy install, java and eclipse.... and *gulp* installed the TGE installer (shiver) and played the TBE card (*sigh*), yeah I caved in and installed it against my better judgement!!!
So, I have everything installed, rebooted etc.. and ... it compiles with out any of the errors Mark or anyone else has mentioned in any other forum thread... not sure were the disconnect is, the instructions were brain dead simple (which in all honestly is a new twist for TGE related products! , sorry guys but I think you feel the same way or else we would not have a TGE installer etc.....)
I have no issues fielding TGE/eclipse questions so long as they are reproducable :)
-Ron
05/02/2005 (6:51 pm)
OK.. I did the un-thinkable (for me at least)I blew away my entire TGE dir, mysy install, java and eclipse.... and *gulp* installed the TGE installer (shiver) and played the TBE card (*sigh*), yeah I caved in and installed it against my better judgement!!!
So, I have everything installed, rebooted etc.. and ... it compiles with out any of the errors Mark or anyone else has mentioned in any other forum thread... not sure were the disconnect is, the instructions were brain dead simple (which in all honestly is a new twist for TGE related products! , sorry guys but I think you feel the same way or else we would not have a TGE installer etc.....)
I have no issues fielding TGE/eclipse questions so long as they are reproducable :)
-Ron
#7
05/02/2005 (9:00 pm)
One thing... the compiling with MinGW / MSYS (with or without Eclipse) never did set the Icon. Someone would need to review the Make files and add in the code required to get an icon embeded in the .exe
#8
For environments i'm using this:
Windows Xp Pro, 2.4ghz p4, 1gb ram, no other SDK's or building environments installed
Windows Xp Home, 2.4ghz celeron, 256mb ram, no other SDK's or building environments installed.
Basically that's my computer and the kids computer. When you installed on your machine do you have any other SDK's installed? Platform SDK perhaps? I know i'm grasping at straws here but these messageless errors that don't stop the build have me kinda freaked out.
EDIT: oh and i'm using TGE 1.3 and TBE 0.6
05/02/2005 (9:39 pm)
Perhaps it's environmental then? I've installed TGE and TBE on 2 computers here with the same result. Problems on the winV2Video.cc and winGL.cc files, but they are problems without any messaging and even stranger, it doesnt seem to stop the link.For environments i'm using this:
Windows Xp Pro, 2.4ghz p4, 1gb ram, no other SDK's or building environments installed
Windows Xp Home, 2.4ghz celeron, 256mb ram, no other SDK's or building environments installed.
Basically that's my computer and the kids computer. When you installed on your machine do you have any other SDK's installed? Platform SDK perhaps? I know i'm grasping at straws here but these messageless errors that don't stop the build have me kinda freaked out.
EDIT: oh and i'm using TGE 1.3 and TBE 0.6
#9
Sorry I can't help more, I'm leaving town today for a week and will be out of touch. good luck!
05/03/2005 (9:01 am)
Hmm, only thing that occurs to me (and I tell everybody to try first when they have trouble with TBE): have you tried skipping eclipse and building it from a prompt yet? With Mingw/msys installed, you don't need have Eclipse manage your build, you can just go the top of your game directory in a command prompt and type "make", sometimes that cuts out weird Eclipse behavior.Sorry I can't help more, I'm leaving town today for a week and will be out of touch. good luck!
#10
I did try this on a third machine with the same result. Blank errors on those 2 files but still built the exe. I'm off to go check the requirements for Eclipse, maybe i'm missing something from there.
Have fun on your trip, and thanks for the response!
05/03/2005 (9:34 am)
Thanks Chris, I did try it from the command prompt and got the same results (again, its odd that it still builds the exe even thought it says there were errors) also, oddly enough the words "error" never occur in the build output for those files, just a listing of the warnings. I'm starting to think that this is an Eclipse problem more then anything else. Perhaps there is something that Eclipse needs that I don't install and isn't part of the TBE?I did try this on a third machine with the same result. Blank errors on those 2 files but still built the exe. I'm off to go check the requirements for Eclipse, maybe i'm missing something from there.
Have fun on your trip, and thanks for the response!
#11
I uninstalled everything, reinstalled them with the default options, but still the same result. I have the latest versions of TGE and TBE, since I only got them yesterday. My OS is Win2K.
On checking, I found 5 EXEs built:
So, it looks like the project did get built, afterall.
I am a complete newbie to Torque and almost new to C/C++, so I don't have much more to add right now. If I have get insights / solutions to this later, I will share them.
Cheers!
Edit:
1. I haven't yet tried building from the command prompt.
2. I too don't have any other SDKs installed.
05/08/2005 (10:31 am)
I just want to add that I see exactly the same behaviour in my TBE installation (same files, same line numbers, no error descriptions).I uninstalled everything, reinstalled them with the default options, but still the same result. I have the latest versions of TGE and TBE, since I only got them yesterday. My OS is Win2K.
On checking, I found 5 EXEs built:
Quote:
C:\Torque\SDK\engine\out.GCC3.RELEASE\torqueDemo.exe (size 4,287 KB)
C:\Torque\SDK\example\torqueDemo.exe (size 4,287 KB)
C:\Torque\SDK\tools\buildWad.exe (size 1,094 KB)
C:\Torque\SDK\tools\map2dif.exe (size 2,890 KB)
C:\Torque\SDK\tools\texture2bm8.exe (size 1,065 KB)
So, it looks like the project did get built, afterall.
I am a complete newbie to Torque and almost new to C/C++, so I don't have much more to add right now. If I have get insights / solutions to this later, I will share them.
Cheers!
Edit:
1. I haven't yet tried building from the command prompt.
2. I too don't have any other SDKs installed.
Torque Owner Mark Joyal