Game Development Community

Alpha 1.1 on Linux

by Ricky Taylor · in Torque Game Builder · 01/27/2006 (8:20 am) · 11 replies

... Any ideas?

Im working on re-making the file-list but I get lovelly errors like...:

gui/core/guiTSControl.cc:47: warning: invalid access to non-static data member 'GuiTSCtrl::mCameraZRot' of NULL object
gui/core/guiTSControl.cc:47: warning: (perhaps the 'offsetof' macro was used incorrectly)

and

gui/core/guiTSControl.cc: In member function 'virtual void GuiTSCtrl::onRender(Point2I, const RectI&)':
gui/core/guiTSControl.cc:96: error: 'SceneLighting' has not been declared
gui/core/guiTSControl.cc:96: error: 'isLighting' was not declared in this scope
gui/core/guiTSControl.cc:138: error: 'gClientSceneGraph' was not declared in this scop

#1
01/27/2006 (9:29 am)
Which alpha? 1,2 or 3?
#2
01/28/2006 (5:17 am)
ALL OF THEM! But I have 3a atm.

='(
#3
01/28/2006 (8:42 am)
Sounds like the Linux platform needs some TLC, looks like a few files might be missing from the targets.torque.mk file.

I tossed Josh an e-mail about the linux platform and he mentioned that someone in the community was working (or will be working) on getting the Linux platform up to snuff.

-Ron
#4
01/28/2006 (9:50 am)
I do believe the Linux side is being looked at.

- Melv.
#5
01/28/2006 (11:14 am)
I've got working builds of all the alphas. I'll try to package the changes up tonight at some point.
#6
01/28/2006 (1:21 pm)
I remember alpha 2 had a lot less issues compiling for on linux compared to alpha 1. Alpha 3 has 1.4 integration, correct? I know Ron & others will soon have that finished for linux so it should help t2d after that I would like to think.
#7
01/28/2006 (9:41 pm)
Ok, here are the required changes to make Alpha 3 work correctly on Linux. Just unzip this file from within the ALPHA3a_T2D-SDK_1-1 directory and compile. I also recommend launching the resulting T2D.bin with runT2D.sh to enable sound. Also note that the new packaging utility will not function under this build. There are some win32 platform specific calls that I did not port over.
#8
01/29/2006 (8:00 am)
A lot of the time, I run make first off because I have a tendancy to forget the typical command of make -f mk/configure.mk OS=LINUX COMPILER=GCC3 BUILD=RELEASE on my system. After I unzipped your file & running make, it started the build process right away. Granted, I would have had to run the command anyway, but some others might not think of this right away & assume the build is still broken.
#9
01/29/2006 (9:29 am)
/usr/bin/ld: cannot find -lGLU
Any linux guys get this?

Ive installed the libMesa rpm with GLU, but it still refuses to compile ='(.

Any Ideas?

Thanks

Ricky,
#10
01/29/2006 (11:56 am)
Do you have /usr/X11/lib in your ld.so.conf file? Did you run ldconfig after the fact? If all else fails, you could just specify -L/usr/X11/lib in the make file.
#11
02/02/2006 (1:09 pm)
No, Its a dynamic library on mine...

So -static stopped it being found. (mk/Conf.UNIX.mk)
and -L/usr/X11R6/lib didnt work.

Thanks for the patch david.

But why to I only get ~1 fps? I have an 6600GT w/ NV drivers...!!!!

The windows-compiled one runs just as fast...?