map2dif and GCC
by Gilles Jr Lafrance · in Torque Game Engine · 01/09/2003 (7:44 pm) · 5 replies
I was about to install the new ressource by James www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3704 so I did include his ressources. Badly, it doesn't want to compile. So I tought it was something I had modified. I then tryed to compile the original one with the latest head and OH NO, it doesnt compile too. I had compiled it last month so I guess it is something with new codes. Anyone could help with this ?
Thanks
Gilles Jr.
Thanks
Gilles Jr.
#2
There is a lot of lines like those with platform.h and it seems to be something with exportGeometry.cc or editGeometry.cc related also with types.h but really unsure :(
Question : Does anyone else have tryed building the tools (HEAD) with MinGW (GCC3) recently ?
Thanks for any help with this.
01/09/2003 (11:30 pm)
Thanks John. I must apologize not to have gived you more details. I'm using MinGW with GCC3 and I do build WIN32 app. (BTW, it compile the RELEASE and DEBUG app since your last fix with GCC3. I had just not tested the tools before yesterday :) )I tryed the file you updated but I think it's for Unix (?) so I get the same error. Here is the final message I get :../engine/platform/platform.h:366: 'dQsort' declared as function returning a function ../engine/platform/platform.h: In function 'int dQsort(...)': ../engine/platform/platform.h:366: parse error before ')' token ../engine/platform/platform.h:372: non-local function 'const char* __dyncreate_getNameFromType(dQsort(...)::ConsoleObject*)' uses local type ' dQsort(...)::ConsoleObject' ../engine/platform/platform.h:379: parse error before ')' token ../engine/platform/platform.h:380: parse error before ')' token ../engine/platform/platform.h:383: syntax error before 'operator' ../engine/platform/platform.h: In function 'void destructInPlace(T*)': ../engine/platform/platform.h:398: syntax error before 'operator' ../engine/platform/platform.h:399: syntax error before 'operator' ../engine/platform/platform.h:400: syntax error before 'operator' ../engine/platform/platform.h:401: syntax error before 'operator' ../engine/platform/platform.h:409: type specifier omitted for parameter 'U32' ../engine/platform/platform.h:409: confused by earlier errors, bailing out make[1]: *** [out.GCC3.RELEASE/map2dif/exportGeometry.obj] Error 1 make: *** [tools] Error 2
There is a lot of lines like those with platform.h and it seems to be something with exportGeometry.cc or editGeometry.cc related also with types.h but really unsure :(
Question : Does anyone else have tryed building the tools (HEAD) with MinGW (GCC3) recently ?
Thanks for any help with this.
#3
The errors look like the appropriate "types" file is not getting included, since some of the errors are on lines that use U32, S32 and the like. This might be due to a detection problem in types.gcc.h
01/10/2003 (8:10 am)
Hmm, the tools build was broken on unix too, but for a different reason.The errors look like the appropriate "types" file is not getting included, since some of the errors are on lines that use U32, S32 and the like. This might be due to a detection problem in types.gcc.h
#4
By the way, I am using MSYS (essentially MingW, I believe) under windows with GCC3.
05/30/2003 (4:02 pm)
Anybody ever figure this out? I'm going to chew on it for awhile, and if I don't get it, hopefully someone did, because I would like to be able to compile me own tools :)By the way, I am using MSYS (essentially MingW, I believe) under windows with GCC3.
#5
05/30/2003 (5:03 pm)
nope, still don't compile with Mingw (gcc3). I've tryed a lot of things but I'm not enough good to get it :( It was compiling good a couples of months ago. If you get it, please tell me :), and John so he could update the cvs.
Torque Owner John Quigley
If you still get errors please post them.