Game Development Community

Back of the bus please

by Charles B · in Torque Game Engine · 04/08/2007 (6:02 pm) · 7 replies

No torque 1.51? No constructor?

Where's dah luv?
Freedom anyone?

The irony: GG's site is served from linux.

#1
04/09/2007 (2:36 am)
For you information :

I have installed with wine the windows version of TGE 151

I try to compile it but i get a lot of errors with GFont => GNewFont use in 1.5 disapperared from the windows version 1.5.1


Below the basic fixes to do in order to avoid some of the errors :

in directory :
/engine
=> chmod +x lib/xiph/linux/checklinks.sh
=> at "end of file" to all the files
for i in 'find . -iname "*.c" -o -iname "*.cc" -o -iname "*.h" -o -iname "*.cpp"'; do {
    echo ${i}
    echo wq | ed ${i} > /dev/null 2>&1
    dos2unix -d ${i}
} ; done


in directory engine : Add from 1.5 the following files in 1.5.1
=> dgl/gNewfont.cc
=> dgl/gNewFont.h

in directory engine : update the following files
=> interior/interior.h
==> change TexMatrix::TexMatrix by TexMatrix

=>interior/fogCalc.h
==> change FogCalc::FogCalc by FogCalc

=> launch compilation in root directory
make -f mk/configure.mk OS=LINUX COMPILER=GCC4 BUILD=RELEASE
make clean
make


But only some issues are fixed, for the other one relative to GFont is search for a solution : but it is not easy .
The last 2 days I failed.

Linux community : we have a challenge ...

;-)

Philippe


nota : torqueconstructor works with wine ( i just launch it , i do only few tests ...)
#2
04/09/2007 (9:56 am)
Philippe:

For the font issue, all you should have to do is remove dgl/gNewFont.cc from the makefiles. I don't have Linux in front of me, but all that happened with the font stuff was that the deprecated font class was removed and the files dgl/gNewFont.[h,cc] were renamed dgl/gFont.[h,cc].

You do not want to add gNewFont back into the build.

TexMatrix and FogCalc issues have been fixed in the repo.
#3
04/09/2007 (11:25 am)
Constructor may launch with Wine, but the menubar is all black. The menus do dropdown however, but who knows what else could be broken with that. Wine isn't a real solution to any of it the way I see it.
#4
04/09/2007 (11:37 am)
Pretty sure they said Ron couldn't continue working on the Linux build due to health issues. So it's gone.
#5
04/09/2007 (11:56 am)
Here's the exact quote from the IOTD:

Quote:Matt Fairfax (Apr 03, 2007 at 13:42):

We have no plans to support Linux in the near future. Unfortunately, Ron had to stop working on Constructor because of health reasons at a relatively early point in the project and we didn't have anyone we could replace him with. Even then we were running into some serious problems with the lack of a standard system menu and file browser on Linux.
#6
04/09/2007 (12:53 pm)
@ asmaloney

You are right , I have solved the compilation issues : now TGE 1.5.1 works on my distro : i will do a dedicated post in order to explain "how to" : just some minor corrections to do ....

Now I just test it to be sure that everything woks well.


@ Keith
I have seen this comment : but there is an other issue => code is not available for constructor ...


It is why i like Linux , there is always someone, somewhere in the world to continue ... if the code is available...

Philippe
#7
04/09/2007 (1:53 pm)
Well, as I've already pointed out in the other forum, there's no reason the way I see it why they couldn't look for someone else in the community to assist with this. :)