Issues building latest cvs on debian linux
by James A. Pattie · in Torque Game Engine · 04/09/2005 (6:12 pm) · 8 replies
This is on Debian testing (updated yesterday), using gcc 3.3.5, with torque config options of OS=LINUX COMPILER=GCC3 BUILD=RELEASE
I just updated to latest cvs and encountered issues with the gui/ related files and others, which I fixed by updating the targets.torque.mk file:
diff -r2.3 targets.torque.mk
107,152c107,152
< gui/guiDefaultControlRender.cc \
< gui/guiArrayCtrl.cc \
< gui/guiAviBitmapCtrl.cc \
< gui/guiBackgroundCtrl.cc \
< gui/guiBitmapCtrl.cc \
< gui/guiBitmapBorderCtrl.cc \
< gui/guiBitmapButtonCtrl.cc \
< gui/guiBubbleTextCtrl.cc \
< gui/guiButtonBaseCtrl.cc \
< gui/guiButtonCtrl.cc \
< gui/guiBorderButton.cc \
< gui/guiCanvas.cc \
< gui/guiCheckBoxCtrl.cc \
< gui/guiChunkedBitmapCtrl.cc \
< gui/guiConsole.cc \
< gui/guiConsoleEditCtrl.cc \
< gui/guiConsoleTextCtrl.cc \
< gui/guiControl.cc \
< gui/guiControlListPopup.cc \
< gui/guiDebugger.cc \
< gui/guiEditCtrl.cc \
< gui/guiFadeinBitmapCtrl.cc \
< gui/guiFilterCtrl.cc \
< gui/guiFrameCtrl.cc \
< gui/guiGraphCtrl.cc \
< gui/guiInputCtrl.cc \
< gui/guiInspector.cc \
< gui/guiMLTextCtrl.cc \
< gui/guiMLTextEditCtrl.cc \
< gui/guiMenuBar.cc \
< gui/guiMessageVectorCtrl.cc \
< gui/guiMouseEventCtrl.cc \
< gui/guiPopUpCtrl.cc \
< gui/guiProgressCtrl.cc \
< gui/guiRadioCtrl.cc \
< gui/guiScrollCtrl.cc \
< gui/guiSliderCtrl.cc \
< gui/guiTSControl.cc \
< gui/guiTextCtrl.cc \
< gui/guiTextEditCtrl.cc \
< gui/guiTextEditSliderCtrl.cc \
< gui/guiTextListCtrl.cc \
< gui/guiTreeViewCtrl.cc \
< gui/guiTypes.cc \
< gui/guiWindowCtrl.cc \
< gui/messageVector.cc \
---
> gui/core/guiDefaultControlRender.cc \
> gui/core/guiArrayCtrl.cc \
> gui/game/guiAviBitmapCtrl.cc \
> gui/controls/guiBackgroundCtrl.cc \
> gui/controls/guiBitmapCtrl.cc \
> gui/controls/guiBitmapBorderCtrl.cc \
> gui/controls/guiBitmapButtonCtrl.cc \
> gui/utility/guiBubbleTextCtrl.cc \
> gui/controls/guiButtonBaseCtrl.cc \
> gui/controls/guiButtonCtrl.cc \
> gui/controls/guiBorderButton.cc \
> gui/core/guiCanvas.cc \
> gui/controls/guiCheckBoxCtrl.cc \
> gui/game/guiChunkedBitmapCtrl.cc \
> gui/controls/guiConsole.cc \
> gui/controls/guiConsoleEditCtrl.cc \
> gui/controls/guiConsoleTextCtrl.cc \
> gui/core/guiControl.cc \
> gui/editor/guiControlListPopup.cc \
> gui/editor/guiDebugger.cc \
> gui/editor/guiEditCtrl.cc \
> gui/game/guiFadeinBitmapCtrl.cc \
> gui/editor/guiFilterCtrl.cc \
> gui/containers/guiFrameCtrl.cc \
> gui/editor/guiGraphCtrl.cc \
> gui/utility/guiInputCtrl.cc \
> gui/editor/guiInspector.cc \
> gui/controls/guiMLTextCtrl.cc \
> gui/controls/guiMLTextEditCtrl.cc \
> gui/editor/guiMenuBar.cc \
> gui/game/guiMessageVectorCtrl.cc \
> gui/utility/guiMouseEventCtrl.cc \
> gui/controls/guiPopUpCtrl.cc \
> gui/game/guiProgressCtrl.cc \
> gui/controls/guiRadioCtrl.cc \
> gui/containers/guiScrollCtrl.cc \
> gui/controls/guiSliderCtrl.cc \
> gui/core/guiTSControl.cc \
> gui/controls/guiTextCtrl.cc \
> gui/controls/guiTextEditCtrl.cc \
> gui/controls/guiTextEditSliderCtrl.cc \
> gui/controls/guiTextListCtrl.cc \
> gui/editor/guiTreeViewCtrl.cc \
> gui/core/guiTypes.cc \
> gui/containers/guiWindowCtrl.cc \
> gui/utility/messageVector.cc \
253c253
< sim/frameAllocator.cc \
---
> core/frameAllocator.cc \
I just updated to latest cvs and encountered issues with the gui/ related files and others, which I fixed by updating the targets.torque.mk file:
diff -r2.3 targets.torque.mk
107,152c107,152
< gui/guiDefaultControlRender.cc \
< gui/guiArrayCtrl.cc \
< gui/guiAviBitmapCtrl.cc \
< gui/guiBackgroundCtrl.cc \
< gui/guiBitmapCtrl.cc \
< gui/guiBitmapBorderCtrl.cc \
< gui/guiBitmapButtonCtrl.cc \
< gui/guiBubbleTextCtrl.cc \
< gui/guiButtonBaseCtrl.cc \
< gui/guiButtonCtrl.cc \
< gui/guiBorderButton.cc \
< gui/guiCanvas.cc \
< gui/guiCheckBoxCtrl.cc \
< gui/guiChunkedBitmapCtrl.cc \
< gui/guiConsole.cc \
< gui/guiConsoleEditCtrl.cc \
< gui/guiConsoleTextCtrl.cc \
< gui/guiControl.cc \
< gui/guiControlListPopup.cc \
< gui/guiDebugger.cc \
< gui/guiEditCtrl.cc \
< gui/guiFadeinBitmapCtrl.cc \
< gui/guiFilterCtrl.cc \
< gui/guiFrameCtrl.cc \
< gui/guiGraphCtrl.cc \
< gui/guiInputCtrl.cc \
< gui/guiInspector.cc \
< gui/guiMLTextCtrl.cc \
< gui/guiMLTextEditCtrl.cc \
< gui/guiMenuBar.cc \
< gui/guiMessageVectorCtrl.cc \
< gui/guiMouseEventCtrl.cc \
< gui/guiPopUpCtrl.cc \
< gui/guiProgressCtrl.cc \
< gui/guiRadioCtrl.cc \
< gui/guiScrollCtrl.cc \
< gui/guiSliderCtrl.cc \
< gui/guiTSControl.cc \
< gui/guiTextCtrl.cc \
< gui/guiTextEditCtrl.cc \
< gui/guiTextEditSliderCtrl.cc \
< gui/guiTextListCtrl.cc \
< gui/guiTreeViewCtrl.cc \
< gui/guiTypes.cc \
< gui/guiWindowCtrl.cc \
< gui/messageVector.cc \
---
> gui/core/guiDefaultControlRender.cc \
> gui/core/guiArrayCtrl.cc \
> gui/game/guiAviBitmapCtrl.cc \
> gui/controls/guiBackgroundCtrl.cc \
> gui/controls/guiBitmapCtrl.cc \
> gui/controls/guiBitmapBorderCtrl.cc \
> gui/controls/guiBitmapButtonCtrl.cc \
> gui/utility/guiBubbleTextCtrl.cc \
> gui/controls/guiButtonBaseCtrl.cc \
> gui/controls/guiButtonCtrl.cc \
> gui/controls/guiBorderButton.cc \
> gui/core/guiCanvas.cc \
> gui/controls/guiCheckBoxCtrl.cc \
> gui/game/guiChunkedBitmapCtrl.cc \
> gui/controls/guiConsole.cc \
> gui/controls/guiConsoleEditCtrl.cc \
> gui/controls/guiConsoleTextCtrl.cc \
> gui/core/guiControl.cc \
> gui/editor/guiControlListPopup.cc \
> gui/editor/guiDebugger.cc \
> gui/editor/guiEditCtrl.cc \
> gui/game/guiFadeinBitmapCtrl.cc \
> gui/editor/guiFilterCtrl.cc \
> gui/containers/guiFrameCtrl.cc \
> gui/editor/guiGraphCtrl.cc \
> gui/utility/guiInputCtrl.cc \
> gui/editor/guiInspector.cc \
> gui/controls/guiMLTextCtrl.cc \
> gui/controls/guiMLTextEditCtrl.cc \
> gui/editor/guiMenuBar.cc \
> gui/game/guiMessageVectorCtrl.cc \
> gui/utility/guiMouseEventCtrl.cc \
> gui/controls/guiPopUpCtrl.cc \
> gui/game/guiProgressCtrl.cc \
> gui/controls/guiRadioCtrl.cc \
> gui/containers/guiScrollCtrl.cc \
> gui/controls/guiSliderCtrl.cc \
> gui/core/guiTSControl.cc \
> gui/controls/guiTextCtrl.cc \
> gui/controls/guiTextEditCtrl.cc \
> gui/controls/guiTextEditSliderCtrl.cc \
> gui/controls/guiTextListCtrl.cc \
> gui/editor/guiTreeViewCtrl.cc \
> gui/core/guiTypes.cc \
> gui/containers/guiWindowCtrl.cc \
> gui/utility/messageVector.cc \
253c253
< sim/frameAllocator.cc \
---
> core/frameAllocator.cc \
About the author
#2
out.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x2390): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateGuiTextures()'
out.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x275e): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateScreenTextures()'
out.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x2763): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateEndOfFrameTextures()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x13a): In function 'GuiInspector::GuiInspector[not-in-charge]()':
: undefined reference to 'GuiStackControl::GuiStackControl[not-in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x19a): In function 'GuiInspector::GuiInspector[in-charge]()':
: undefined reference to 'GuiStackControl::GuiStackControl[not-in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x2c0): In function 'GuiInspector::destroyInspectGui()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x1854): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiPaneControl::GuiPaneControl[in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x18f7): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiControlArrayControl::GuiControlArrayControl[in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x1f52): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a10): In function 'GuiInspector::expandAll()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a3b): In function 'GuiInspector::expandAll()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a80): In function 'GuiInspector::collapseAll()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3aab): In function 'GuiInspector::collapseAll()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3b44): In function 'GuiInspector::initPersistFields()':
: undefined reference to 'GuiStackControl::initPersistFields()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x121):
04/09/2005 (6:14 pm)
--> Linking out.GCC3.RELEASE/torqueDemo.binout.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x2390): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateGuiTextures()'
out.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x275e): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateScreenTextures()'
out.GCC3.RELEASE/gui/core/guiCanvas.obj(.text+0x2763): In function 'GuiCanvas::renderFrame(bool, bool)':
: undefined reference to 'DynamicTexture::updateEndOfFrameTextures()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x13a): In function 'GuiInspector::GuiInspector[not-in-charge]()':
: undefined reference to 'GuiStackControl::GuiStackControl[not-in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x19a): In function 'GuiInspector::GuiInspector[in-charge]()':
: undefined reference to 'GuiStackControl::GuiStackControl[not-in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x2c0): In function 'GuiInspector::destroyInspectGui()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x1854): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiPaneControl::GuiPaneControl[in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x18f7): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiControlArrayControl::GuiControlArrayControl[in-charge]()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x1f52): In function 'GuiInspector::constructInspectGui()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a10): In function 'GuiInspector::expandAll()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a3b): In function 'GuiInspector::expandAll()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3a80): In function 'GuiInspector::collapseAll()':
: undefined reference to 'typeinfo for GuiPaneControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3aab): In function 'GuiInspector::collapseAll()':
: undefined reference to 'GuiPaneControl::setCollapsed(bool)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x3b44): In function 'GuiInspector::initPersistFields()':
: undefined reference to 'GuiStackControl::initPersistFields()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.text+0x121):
#3
: undefined reference to 'GuiStackControl::getStaticClassRep()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x50): undefined reference to 'GuiStackControl::addObject(SimObject*)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x6c): undefined reference to 'GuiStackControl::resize(Point2I const&, Point2I const&)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x70): undefined reference to 'GuiStackControl::childResized(GuiControl*)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x7c): undefined reference to 'GuiStackControl::onWake()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x80): undefined reference to 'GuiStackControl::onSleep()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD1Ev+0x3f): In function 'GuiInspector::~GuiInspector [in-charge]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD1Ev+0x67): In function 'GuiInspector::~GuiInspector [in-charge]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD0Ev+0x3f): In function 'GuiInspector::~GuiInspector [in-charge deleting]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD0Ev+0x6e): In function 'GuiInspector::~GuiInspector [in-charge deleting]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTI12GuiInspector+0x8): undefined reference to 'typeinfo for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZNK16ConcreteClassRepI12GuiInspectorE4initEv+0x4): In function 'ConcreteClassRep::init() const':: undefined reference to 'GuiStackControl::getStaticClassRep()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZNK16ConcreteClassRepI12GuiInspectorE4initEv+0x2c): In function 'ConcreteClassRep::init() const':
: undefined reference to 'GuiStackControl::initPersistFields()'
out.GCC3.RELEASE/game/main.obj(.text+0x7a7): In function 'initGame(int, char const**)':
: undefined reference to 'BadWordFilter::create()'
out.GCC3.RELEASE/game/main.obj(.text+0x7e1): In function 'shutdownGame()':
: undefined reference to 'BadWordFilter::destroy()'
out.GCC3.RELEASE/game/game.obj(.text+0x15e5): In function 'clientProcess(unsigned)':
: undefined reference to 'ITickable::advanceTime(unsigned)'
collect2: ld returned 1 exit status
make: *** [out.GCC3.RELEASE/torqueDemo.bin] Error 1
When I switch over to trying to do a DEBUG build, it blows the following error:
Creating library out.GCC3.DEBUG/lungif_DEBUG.a
mkdir: cannot create directory 'out.GCC3.DEBUG/gui/containers': No such file or directory
make[1]: *** [out.GCC3.DEBUG/gui/containers] Error 1
make: *** [default] Error 2
04/09/2005 (6:14 pm)
In function 'GuiInspector::getParentStaticClassRep()':: undefined reference to 'GuiStackControl::getStaticClassRep()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x50): undefined reference to 'GuiStackControl::addObject(SimObject*)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x6c): undefined reference to 'GuiStackControl::resize(Point2I const&, Point2I const&)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x70): undefined reference to 'GuiStackControl::childResized(GuiControl*)'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x7c): undefined reference to 'GuiStackControl::onWake()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTV12GuiInspector+0x80): undefined reference to 'GuiStackControl::onSleep()'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD1Ev+0x3f): In function 'GuiInspector::~GuiInspector [in-charge]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD1Ev+0x67): In function 'GuiInspector::~GuiInspector [in-charge]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD0Ev+0x3f): In function 'GuiInspector::~GuiInspector [in-charge deleting]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZN12GuiInspectorD0Ev+0x6e): In function 'GuiInspector::~GuiInspector [in-charge deleting]()':
: undefined reference to 'vtable for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.r._ZTI12GuiInspector+0x8): undefined reference to 'typeinfo for GuiStackControl'
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZNK16ConcreteClassRepI12GuiInspectorE4initEv+0x4): In function 'ConcreteClassRep
out.GCC3.RELEASE/gui/editor/guiInspector.obj(.gnu.linkonce.t._ZNK16ConcreteClassRepI12GuiInspectorE4initEv+0x2c): In function 'ConcreteClassRep
: undefined reference to 'GuiStackControl::initPersistFields()'
out.GCC3.RELEASE/game/main.obj(.text+0x7a7): In function 'initGame(int, char const**)':
: undefined reference to 'BadWordFilter::create()'
out.GCC3.RELEASE/game/main.obj(.text+0x7e1): In function 'shutdownGame()':
: undefined reference to 'BadWordFilter::destroy()'
out.GCC3.RELEASE/game/game.obj(.text+0x15e5): In function 'clientProcess(unsigned)':
: undefined reference to 'ITickable::advanceTime(unsigned)'
collect2: ld returned 1 exit status
make: *** [out.GCC3.RELEASE/torqueDemo.bin] Error 1
When I switch over to trying to do a DEBUG build, it blows the following error:
Creating library out.GCC3.DEBUG/lungif_DEBUG.a
mkdir: cannot create directory 'out.GCC3.DEBUG/gui/containers': No such file or directory
make[1]: *** [out.GCC3.DEBUG/gui/containers] Error 1
make: *** [default] Error 2
#4
I don't know what is going on now, but I'm willing to try any fixes you guys come up with. :)
04/09/2005 (6:18 pm)
That was after doing a make clean. I've since then tried re-building the RELEASE build and it is now doing the same thing, after issuing a 'make clean' with the BUILD=RELEASE config setting.I don't know what is going on now, but I'm willing to try any fixes you guys come up with. :)
#5
apply as such:
cd
patch -p0
and build.
I was able to build DEBUG and RELEASE builds after appling the patch.
Next you'll want to rummage up uncorrupted png's for example/game/demo/data/environment/lightning1frame[1|2|3].png (They are hosed up in CVS)
Then you should be able to run the demo.
04/10/2005 (10:12 am)
Try this patch to get it to compile.apply as such:
cd
patch -p0
and build.
I was able to build DEBUG and RELEASE builds after appling the patch.
Next you'll want to rummage up uncorrupted png's for example/game/demo/data/environment/lightning1frame[1|2|3].png (They are hosed up in CVS)
Then you should be able to run the demo.
#6
I only posted my thread since none of the other build issues seemed to be covering the problems I was having. They all were using gcc 3.4, for those threads I could find.
I noticed that there seems to be a bunch of visual glitches, while displaying the terrain, that I did not see with the 1.3 code. They are worse running the DEBUG build versus the RELEASE build, but they are in both.
Also, the crossbolt explosions are just a yellow glow, and nothing like what we had under 1.3. Do you know if they just haven't finished the explosion code or is it using some new GL feature that I may not have available?
I'm running the ATI binary driver, only 2 releases old, so I should hopefully have all the necessary GL extensions, etc.
04/10/2005 (10:59 am)
Thanks, that did it.I only posted my thread since none of the other build issues seemed to be covering the problems I was having. They all were using gcc 3.4, for those threads I could find.
I noticed that there seems to be a bunch of visual glitches, while displaying the terrain, that I did not see with the 1.3 code. They are worse running the DEBUG build versus the RELEASE build, but they are in both.
Also, the crossbolt explosions are just a yellow glow, and nothing like what we had under 1.3. Do you know if they just haven't finished the explosion code or is it using some new GL feature that I may not have available?
I'm running the ATI binary driver, only 2 releases old, so I should hopefully have all the necessary GL extensions, etc.
#7
demo/data/terrains/grassland/dirt_grass_256 (and so on) no such directory in the cvs stuff.. *shrug*
04/10/2005 (3:20 pm)
Not sure, I saw some texture problems with the examples as well, and since it loads/works with our modified client stuff I just figured it was some mess up with the example stuff, especially seeing as the terrain file is calling for non-existant textures.demo/data/terrains/grassland/dirt_grass_256 (and so on) no such directory in the cvs stuff.. *shrug*
#8
I don't have time to try and track this down right now, but it would be interesting to know if you are getting the same error also. It shows up in red, which makes it easy to find. :)
04/10/2005 (6:08 pm)
I think the crossbow explosion not working is due to the collision box for ammo.dts being reported as invalid. I even copied ammo.dts from my 1.3 version and it is still blowing the same error, which leads me to think that there is an actual bug in the code. :(I don't have time to try and track this down right now, but it would be interesting to know if you are getting the same error also. It shows up in red, which makes it easy to find. :)
Torque Owner James A. Pattie
RCS file: /cvs/torque/torque/engine/platformX86UNIX/x86UNIXCPUInfo.cc,v
retrieving revision 2.2
diff -r2.2 x86UNIXCPUInfo.cc
87c87,88
< #else asm(
---
> #else
> asm(
and the x86UNIXGL.cc file:
RCS file: /cvs/torque/torque/engine/platformX86UNIX/x86UNIXGL.cc,v
retrieving revision 2.2
diff -r2.2 x86UNIXGL.cc
40c40,42
< NV_vertex_array_range = BIT(5)
---
> NV_vertex_array_range = BIT(5),
> EXT_blend_color = BIT(6),
> EXT_blend_minmax = BIT(7)
to get the build to make, but it then blew errors on linking.
Here is the final output from the make that has all the linkage errors, which I don't have time to try and track down.