Notices


Reply
Thread Tools
Posts: 50 | Thanked: 121 times | Joined on Apr 2010 @ Poland
#11
Originally Posted by AapoRantalainen View Post
How you compiled it? What version of Hedgewars and which parameters, any modifications? Are you using scratchbox1 or 2 or something else?
Darn, if I could only remember, it was in nearly five months ago...! I was using the vanilla maemo sdk + sb2, no fancy toolchains at the time.

Originally Posted by AapoRantalainen View Post
There are now FreePascalCompiler-2.4.4 on extras-devel (without -Cfsoft), but with gles-unit enabled: http://talk.maemo.org/showthread.php?t=73701

Are you compiled that ppcarm-2.5.1 (linked on your post)? It can't be used because there aren't 'units' included. Does it contain any modifications? Are you sure -Cfsoft is needed? I think N900 has hardfloat. (It seems that fpc-2.4.4 doesn't even have -Cfsoft flag)
I think I used the 2.2.2 binary to compile the 2.4.2 which was in turn needed to compile 2.5.1. I probably didn't even bother with the units, can't really remember. Here's some .bash_history:
Code:
make all PREFIX=/opt/fpc-arm OS_TARGET=linux CPU_TARGET=arm OPT="-dFPC_ARMEL" CROSSOPT="-CfSOFT"

(...)

make clean all PP=/usr/bin/ppcarm PREFIX="/opt/fpc-svn" OPT="-dFPC_ARMEL -O- -dFPC_ABI_EABI" CROSSOPT="-CfSOFT"
export PATH=/lib/fpc/2.5.1:$PATH
/bin/fpcmkcfg -d basepath=/lib/fpc/2.5.1/ -o /etc/fpc.cfg
As for the hardfloat: yup, you're right. It's just the toolchain (cs2007q3) that doesn't support hardfp.

Originally Posted by AapoRantalainen View Post
I can compile Hedgewars 0.9.15 (with fpc from extras) adding
hedgewars/options.inc:
+{$DEFINE GLunit:=gles11}

(Or hg head adding also +{$DEFINE S3D_DISABLED} )

If I do not add GLunit=gless11, I get runtime Error:
"Failed loading libGL.so.1". I think if I fetch this file e.g. from Debian, Hedgewars will run with software GL, which might be 1fps (Is this your case, trompkins?).

Menus are working, but when game is starting, it shows background of level and text "Loading..." and it never go further.
Hmmm, I don't recall seeing any GL-related runtime errors. Everything was running in software mode I think.

I assume you have already tried the libgl-dev package for fremantle, to no effect?
__________________
.:different kinds of pop
 

The Following User Says Thank You to trompkins For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:54.