Problem compiling HEAD
by BBS Games · in Torque Game Engine · 09/08/2005 (4:28 am) · 8 replies
Hi all,
as I've posted in the general section I'm having truble compiling torque from the CVS.
I've downloaded the HEAD version and I'm getting this message:
make[1]: *** No rule to make target 'out.GCC3.RELEASE/gui/guiDefaultControlRender.obj', needed by 'out.GCC3.RELEASE/torqueDemo.bin'. Stop.
make: *** [default] Error 2
as I've posted in the general section I'm having truble compiling torque from the CVS.
I've downloaded the HEAD version and I'm getting this message:
make[1]: *** No rule to make target 'out.GCC3.RELEASE/gui/guiDefaultControlRender.obj', needed by 'out.GCC3.RELEASE/torqueDemo.bin'. Stop.
make: *** [default] Error 2
#2
SOURCE.GUI=\
gui/containers/guiCtrlArrayCtrl.cc \
gui/containers/guiFrameCtrl.cc \
gui/containers/guiPaneCtrl.cc \
gui/containers/guiScrollCtrl.cc \
gui/containers/guiStackCtrl.cc \
gui/containers/guiWindowCtrl.cc \
gui/controls/guiBackgroundCtrl.cc \
gui/controls/guiBitmapBorderCtrl.cc \
gui/controls/guiBitmapButtonCtrl.cc \
gui/controls/guiBitmapCtrl.cc \
gui/controls/guiBorderButton.cc \
gui/controls/guiButtonBaseCtrl.cc \
gui/controls/guiButtonCtrl.cc \
gui/controls/guiCheckBoxCtrl.cc \
gui/controls/guiConsole.cc \
gui/controls/guiConsoleEditCtrl.cc \
gui/controls/guiConsoleTextCtrl.cc \
gui/controls/guiMLTextCtrl.cc \
gui/controls/guiMLTextEditCtrl.cc \
gui/controls/guiPopUpCtrl.cc \
gui/controls/guiRadioCtrl.cc \
gui/controls/guiSliderCtrl.cc \
gui/controls/guiTextCtrl.cc \
gui/controls/guiTextEditCtrl.cc \
gui/controls/guiTextEditSliderCtrl.cc \
gui/controls/guiTextListCtrl.cc \
gui/core/guiArrayCtrl.cc \
gui/core/guiCanvas.cc \
gui/core/guiControl.cc \
gui/core/guiDefaultControlRender.cc \
gui/core/guiTSControl.cc \
gui/core/guiTypes.cc \
gui/editor/guiControlListPopup.cc \
gui/editor/guiDebugger.cc \
gui/editor/guiEditCtrl.cc \
gui/editor/guiFilterCtrl.cc \
gui/editor/guiGraphCtrl.cc \
gui/editor/guiInspector.cc \
gui/editor/guiMenuBar.cc \
gui/editor/guiTreeViewCtrl.cc \
gui/game/guiAviBitmapCtrl.cc \
gui/game/guiChunkedBitmapCtrl.cc \
gui/game/guiFadeinBitmapCtrl.cc \
gui/game/guiMessageVectorCtrl.cc \
gui/game/guiProgressCtrl.cc \
gui/shiny/guiTickCtrl.cc \
gui/utility/guiBubbleTextCtrl.cc \
gui/utility/guiInputCtrl.cc \
gui/utility/guiMouseEventCtrl.cc \
gui/utility/messageVector.cc
# gui/controls/guiOtherTreeViewCtrl.cc \
and I've moved frameAllocator.cc from sim to core section
but anyway a have a problem with inline assembly :
platformX86UNIX/x86UNIXCPUInfo.cc:87:12: warning: extra tokens at end of #else directive
platformX86UNIX/x86UNIXCPUInfo.cc: In static member function 'static void
Processor::init()':
platformX86UNIX/x86UNIXCPUInfo.cc:96: error: parse error before ')' token
make[1]: *** [out.GCC2.RELEASE/platformX86UNIX/x86UNIXCPUInfo.obj] Error 1
make: *** [default] Error 2
Now I'm looking to solve this problem...if some one have a solution please let me know
Bye
09/08/2005 (6:36 am)
My new GUI section is this:SOURCE.GUI=\
gui/containers/guiCtrlArrayCtrl.cc \
gui/containers/guiFrameCtrl.cc \
gui/containers/guiPaneCtrl.cc \
gui/containers/guiScrollCtrl.cc \
gui/containers/guiStackCtrl.cc \
gui/containers/guiWindowCtrl.cc \
gui/controls/guiBackgroundCtrl.cc \
gui/controls/guiBitmapBorderCtrl.cc \
gui/controls/guiBitmapButtonCtrl.cc \
gui/controls/guiBitmapCtrl.cc \
gui/controls/guiBorderButton.cc \
gui/controls/guiButtonBaseCtrl.cc \
gui/controls/guiButtonCtrl.cc \
gui/controls/guiCheckBoxCtrl.cc \
gui/controls/guiConsole.cc \
gui/controls/guiConsoleEditCtrl.cc \
gui/controls/guiConsoleTextCtrl.cc \
gui/controls/guiMLTextCtrl.cc \
gui/controls/guiMLTextEditCtrl.cc \
gui/controls/guiPopUpCtrl.cc \
gui/controls/guiRadioCtrl.cc \
gui/controls/guiSliderCtrl.cc \
gui/controls/guiTextCtrl.cc \
gui/controls/guiTextEditCtrl.cc \
gui/controls/guiTextEditSliderCtrl.cc \
gui/controls/guiTextListCtrl.cc \
gui/core/guiArrayCtrl.cc \
gui/core/guiCanvas.cc \
gui/core/guiControl.cc \
gui/core/guiDefaultControlRender.cc \
gui/core/guiTSControl.cc \
gui/core/guiTypes.cc \
gui/editor/guiControlListPopup.cc \
gui/editor/guiDebugger.cc \
gui/editor/guiEditCtrl.cc \
gui/editor/guiFilterCtrl.cc \
gui/editor/guiGraphCtrl.cc \
gui/editor/guiInspector.cc \
gui/editor/guiMenuBar.cc \
gui/editor/guiTreeViewCtrl.cc \
gui/game/guiAviBitmapCtrl.cc \
gui/game/guiChunkedBitmapCtrl.cc \
gui/game/guiFadeinBitmapCtrl.cc \
gui/game/guiMessageVectorCtrl.cc \
gui/game/guiProgressCtrl.cc \
gui/shiny/guiTickCtrl.cc \
gui/utility/guiBubbleTextCtrl.cc \
gui/utility/guiInputCtrl.cc \
gui/utility/guiMouseEventCtrl.cc \
gui/utility/messageVector.cc
# gui/controls/guiOtherTreeViewCtrl.cc \
and I've moved frameAllocator.cc from sim to core section
but anyway a have a problem with inline assembly :
platformX86UNIX/x86UNIXCPUInfo.cc:87:12: warning: extra tokens at end of #else directive
platformX86UNIX/x86UNIXCPUInfo.cc: In static member function 'static void
Processor::init()':
platformX86UNIX/x86UNIXCPUInfo.cc:96: error: parse error before ')' token
make[1]: *** [out.GCC2.RELEASE/platformX86UNIX/x86UNIXCPUInfo.obj] Error 1
make: *** [default] Error 2
Now I'm looking to solve this problem...if some one have a solution please let me know
Bye
#3
09/08/2005 (6:49 am)
Ok solved the platformX86UNIX/x86UNIXCPUInfo.cc, simply by putting a new line right at the end of the #else at line 87
#4
In file included from platformX86UNIX/x86UNIXGL.cc:128:
platform/GLExtFunc.h: In function 'bool bindEXTFunctions(unsigned int)':
platform/GLExtFunc.h:92: error: 'EXT_blend_color' undeclared (first use this
function)
09/08/2005 (6:56 am)
But now another liiittle problem:In file included from platformX86UNIX/x86UNIXGL.cc:128:
platform/GLExtFunc.h: In function 'bool bindEXTFunctions(unsigned int)':
platform/GLExtFunc.h:92: error: 'EXT_blend_color' undeclared (first use this
function)
#5
Yes, basicly search for EXT_fog_coord and add a EXT_blend_color. Dont forget to add the gGLState variable as well...
IIIR the files needing modification are (not at work, so this might be wrong)
x86UNIXGL.cc and platformGL.h, there might another file or two
-Ron
09/08/2005 (7:10 am)
BBS,Yes, basicly search for EXT_fog_coord and add a EXT_blend_color. Dont forget to add the gGLState variable as well...
IIIR the files needing modification are (not at work, so this might be wrong)
x86UNIXGL.cc and platformGL.h, there might another file or two
-Ron
#6
I have had to add some other files to the target makefile (iTickable,BadWord, gDynamicTexture, and maybe some other)
updated platformGL.h and x86UNIXGL.cc to add the two missing EXT
updated gDynamicTexture.cc : at line 96 and 135 I have changed GBitmap::BitmapFormat::RGBA to GBitmap::RGBA (this could be a bug of GCC 2.95, I haven't tryed with newer yet)
Thanks for your help
p.s. BBS is the acronym of the company I work for, my name is Francesco, bye :)
09/08/2005 (8:17 am)
Finally I've done :)I have had to add some other files to the target makefile (iTickable,BadWord, gDynamicTexture, and maybe some other)
updated platformGL.h and x86UNIXGL.cc to add the two missing EXT
updated gDynamicTexture.cc : at line 96 and 135 I have changed GBitmap::BitmapFormat::RGBA to GBitmap::RGBA (this could be a bug of GCC 2.95, I haven't tryed with newer yet)
Thanks for your help
p.s. BBS is the acronym of the company I work for, my name is Francesco, bye :)
#7
VS lets you do some down right stupid/idiot things.....
-Ron
09/08/2005 (8:42 am)
Nah, its not a GCC 2.95 issue it is a VS 7 ANSI compliancy issue ;)VS lets you do some down right stupid/idiot things.....
-Ron
#8
09/08/2005 (3:36 pm)
GCC 2.95 was a great compiler! major version 3 is (or has been) a mediocre version of what GCC can offer to us...I have great hopes for the 4 version with the new optimizer framework.
Associate Ron Yacketta
for now crack open engine/targets.torque.mk and add gui/guiDefaultControlRender.cc to the SOURCE.GUI section
as an FYI this will only fix one of the many issues you will see.....
-Ron