Whats happened?
by Skylar Kelty · in Technical Issues · 04/11/2005 (3:06 am) · 17 replies
Terrain/terrData.cc:254: warning: assignment to 'unsigned char' from 'F32'
terrain/terrData.cc:254: warning: argument to 'unsigned char' from 'F32'
terrain/terrData.cc: At global scope:
terrain/terrData.cc:269: parse error before 'if'
terrain/terrData.cc:274: parse error before 'for'
terrain/terrData.cc:274: parse error before ';' token
terrain/terrData.cc:274: syntax error before '++' token
terrain/terrData.cc:277: parse error before ';' token
terrain/terrData.cc:277: syntax error before '+=' token
terrain/terrData.cc:280: 'random' was not declared in this scope
terrain/terrData.cc:281: 'random' was not declared in this scope
terrain/terrData.cc:283: 'i' was not declared in this scope
terrain/terrData.cc:284: 'invBlockSize' was not declared in this scope
terrain/terrData.cc:286: parse error before 'for'
terrain/terrData.cc:286: parse error before ';' token
terrain/terrData.cc:286: syntax error before '++' token
terrain/terrData.cc:289: parse error before ';' token
terrain/terrData.cc:289: syntax error before '++' token
terrain/terrData.cc:292: 'x' was not declared in this scope
terrain/terrData.cc:292: 'y' was not declared in this scope
terrain/terrData.cc:293: syntax error before '+=' token
terrain/terrData.cc:300: parse error before 'for'
terrain/terrData.cc:300: parse error before ';' token
terrain/terrData.cc:300: syntax error before '++' token
terrain/terrData.cc:306: 'sinHeight' was not declared in this scope
terrain/terrData.cc:307: parse error before 'for'
terrain/terrData.cc:307: parse error before ';' token
terrain/terrData.cc:307: syntax error before '++' token
terrain/terrData.cc:316: parse error before 'for'
terrain/terrData.cc:316: parse error before ';' token
terrain/terrData.cc:316: syntax error before '++' token
terrain/terrData.cc:322: syntax error before '->' token
terrain/terrData.cc:328: syntax error before '->' token
terrain/terrData.cc:331: syntax error before '->' token
terrain/terrData.cc:338: 'F32 fmin' redeclared as different kind of symbol
make[1]: Target 'all' not remade because of errors.
make: *** [tools] Error 2
make: Target 'all' not remade because of errors.
???????????????????????????????????????????????????????????????????????
terrain/terrData.cc:254: warning: argument to 'unsigned char' from 'F32'
terrain/terrData.cc: At global scope:
terrain/terrData.cc:269: parse error before 'if'
terrain/terrData.cc:274: parse error before 'for'
terrain/terrData.cc:274: parse error before ';' token
terrain/terrData.cc:274: syntax error before '++' token
terrain/terrData.cc:277: parse error before ';' token
terrain/terrData.cc:277: syntax error before '+=' token
terrain/terrData.cc:280: 'random' was not declared in this scope
terrain/terrData.cc:281: 'random' was not declared in this scope
terrain/terrData.cc:283: 'i' was not declared in this scope
terrain/terrData.cc:284: 'invBlockSize' was not declared in this scope
terrain/terrData.cc:286: parse error before 'for'
terrain/terrData.cc:286: parse error before ';' token
terrain/terrData.cc:286: syntax error before '++' token
terrain/terrData.cc:289: parse error before ';' token
terrain/terrData.cc:289: syntax error before '++' token
terrain/terrData.cc:292: 'x' was not declared in this scope
terrain/terrData.cc:292: 'y' was not declared in this scope
terrain/terrData.cc:293: syntax error before '+=' token
terrain/terrData.cc:300: parse error before 'for'
terrain/terrData.cc:300: parse error before ';' token
terrain/terrData.cc:300: syntax error before '++' token
terrain/terrData.cc:306: 'sinHeight' was not declared in this scope
terrain/terrData.cc:307: parse error before 'for'
terrain/terrData.cc:307: parse error before ';' token
terrain/terrData.cc:307: syntax error before '++' token
terrain/terrData.cc:316: parse error before 'for'
terrain/terrData.cc:316: parse error before ';' token
terrain/terrData.cc:316: syntax error before '++' token
terrain/terrData.cc:322: syntax error before '->' token
terrain/terrData.cc:328: syntax error before '->' token
terrain/terrData.cc:331: syntax error before '->' token
terrain/terrData.cc:338: 'F32 fmin' redeclared as different kind of symbol
make[1]: Target 'all' not remade because of errors.
make: *** [tools] Error 2
make: Target 'all' not remade because of errors.
???????????????????????????????????????????????????????????????????????
About the author
#2
04/11/2005 (3:59 pm)
You probably are missing a semicolon ; or bracket } somewhere right before the errors
#3
04/20/2005 (11:05 am)
I have not even edited these files though, these are the original ones which came with torque
#4
try redownloading it maybe ?
Also what compiler are you using ?
04/20/2005 (11:07 am)
Stock torque ?try redownloading it maybe ?
Also what compiler are you using ?
#5
If you can't find the error, try deleting the whole directory and re-installing the SDK then do a fresh recompile of the source.
04/20/2005 (11:11 am)
If what you have posted above is the begginging of where the errors start then take a look at lines 260-269 in terrdata.cc, somewhere in there have lost a closing brace } or a semicolon ; and your compiler can no longer make sense of what the file is all about.If you can't find the error, try deleting the whole directory and re-installing the SDK then do a fresh recompile of the source.
#6
If it is then you havent followed the install directions to the letter...
04/20/2005 (11:11 am)
Looks like Eclipse... TBEIf it is then you havent followed the install directions to the letter...
#7
*Update*
nm I just saw his features request link in a different forum, he's obviously a windoze user, seeing as how he has about a billion wants, that are pretty much all M$ specific.
04/20/2005 (11:14 am)
Also looks like plain ol' GCC, he could just be using linux ya know :)*Update*
nm I just saw his features request link in a different forum, he's obviously a windoze user, seeing as how he has about a billion wants, that are pretty much all M$ specific.
#8
04/20/2005 (11:17 am)
I didnt remember what the name ofthe compiler was for the eclipse IDE... GCC compiles Eclipse.
#9
04/20/2005 (11:19 am)
@Chris we can debate semantics later, I'ld just like to see him fix this bug, I know how it is to forget a semi-colon in the middle of some critical file and have the whole make process explode in my face :)
#10
04/20/2005 (11:23 am)
I was just agreeing with you that it is GCC... I doubt he forgot a semicolon, seeing as he stated it to be stock torque with no changes.. However, accidents hapen and maybe he accidnetly changed something.
#11
04/20/2005 (11:34 am)
/me Opens mouth to change feet :)
#12
04/20/2005 (11:55 am)
He is using TBE...
#13
As has been pointed out, don't panic, you don't really have 25 million errors you just have one break in syntax somewhere. It sounds like one of your files got corrupted somehow. Probably terrData.cc. Make sure you're using the 1.3 SDK installer with NO additional packs installed.
04/20/2005 (12:03 pm)
@james: have you tried a fresh install yet? TBE & Eclipse can be temperamental, but it should work before you've touched anything. As has been pointed out, don't panic, you don't really have 25 million errors you just have one break in syntax somewhere. It sounds like one of your files got corrupted somehow. Probably terrData.cc. Make sure you're using the 1.3 SDK installer with NO additional packs installed.
#14
Just to clear up some stuff:
I use windows and eclipse I have the latest version of torque and no additional packs.
04/20/2005 (12:08 pm)
I have reinstalled the sdk and Im still getting the errors but there are no problems in the engine itself, that is I cant see anything wrong. Should I just leave it?Just to clear up some stuff:
I use windows and eclipse I have the latest version of torque and no additional packs.
#15
Maybe the torque installer skips files already in the directory and the original install was some how corrupted?
04/20/2005 (12:11 pm)
Ok what I did was deleted the file, installed torque in a different place and coppied over the file and it now works, so does the ai guard, thanks chris :)Maybe the torque installer skips files already in the directory and the original install was some how corrupted?
#16
04/20/2005 (1:01 pm)
I dont think he has erros.. Just a wack of warnings (which seems to be the norm)
#17
Now, if he's still getting the same output as he got originally, it's probably an error with the TBE install, not the TGE install--certain unusual link conditions may also give the same type of output he's seeing. Not saying this is guaranteed, but it may be the problem.
04/20/2005 (1:08 pm)
Yes, TGE has a LOT of "warnings", which to the new developer look bad (well, they are, but not in a show-stopping kind of way). Your best bet is to make sure that your executable (which will show up in your /example dir I would expect) is timestamped after you compile--otherwise you may still be using the stock installer executable.Now, if he's still getting the same output as he got originally, it's probably an error with the TBE install, not the TGE install--certain unusual link conditions may also give the same type of output he's seeing. Not saying this is guaranteed, but it may be the problem.
Torque Owner Skylar Kelty
SkylarK