Page 2 of 2

Posted: Tue Apr 25, 2006 9:26 am
by winston
The thing is if you installed some bits of SDL from your distro and some bits from source, some of the files will end up in /usr/include and some in /usr/local/include. The 'sdl-config' script called by make usually adds the appropriate include directories - but if they are spread all over your system, then all bets are off. You need to either modify the Makefile to add an include dir ( -I/usr/local/lib possibly ) or when building extra SDL libs from source, when you run configure, do it as:

./configure --prefix=/top/level/path/to/wherever/SDL/already/is

for example, if you install SDL from your distro but your distro doesn't have a development library for SDL_gfx (for example), your existing SDL installation is likely to be in /usr/lib, /usr/include etc. So:

./configure --prefix=/usr

then make, followed by make install as root.
However, I'd be surprised if Debian doesn't have everything you need pre-packaged - if it does, just use the pre-packaged things.

You may also want to check that your 3D hardware is supported. If you have an nvidia card then you're stuffed - nvidia only release drivers that work on x86. If you have ATi of the right vintage, these have open source drivers and therefore are supported on all platforms. New ATi cards are again only supported under x86 by closed source drivers.

This won't of course change the build (the nightly builds for example are done on a headless machine with no hardware 3D or even X11 installed), but if your 3D hardware isn't supported, the software renderer is appalingly slow (think 4fps!)

Posted: Tue Apr 25, 2006 9:51 am
by Rxke
thanks, I had to reread your suggestion 3 times before I got my head around it, heeh.

I'm going to stop rambling, and do some more reading.

Thans for all the pointers

Posted: Sun Jun 11, 2006 6:05 pm
by Rxke
Edit: nevermind, downloaded the tarbals, compiling now :)

Okay, I'm going to try anew.

But I'm confused how to get the svn stuff going? In the Wiki HowTo, svn seems recommended, so...

I installed svn, then typed
svn checkout svn://svn.berlios.de/yourproject/trunk
and got a lot of files scrolling by, but I'm not sure what happened... Are these files now downloaded? Where? And I guess just blindly copying svn checkout svn://svn.berlios.de/yourproject/trunk
was a bad decision, looks like it checked a lot of stuff I won't use, like Growl etc...

I'm reading the manual, but it is quite elaborate....

Also, GNUStep said:

Code: Select all

Now run the GNUstep initialization script (put this in your
.bashrc or other type of startup script). Note the '.' at the
beginning of the line.
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
I put it in the bash.bashrc, but what else am I supposed to do? To actually run the init?
:? :? (Yeah, I know: mr UeberN00b...)

or should I stick with the tarballs?

Posted: Sun Jun 11, 2006 7:20 pm
by Rxke
:D :cry: :D :cry: :D :evil: :evil:

Image

Sound, fullscreen, windowed, pretty decent framerate. :D

But... :cry: :cry: As soon as I hit F1, either during the breakpattern or seconds thereafter the app quits, GGGGRRRRRR!!!

Code: Select all

Error: Rage 128 timed out... exiting
Now what? (1.65; Dev4) Should I've stuck with 1.62?

Oh... Also get a OPENGL_DEBUG GL_ERROR (1280) 'invalid enum erant' in: Universe before doing anything
during initialisation of the universe, but it doesn't crash it.

Posted: Mon Jun 12, 2006 4:19 pm
by winston
Sounds like a problem with your 3D hardware. You may well be stuffed.

Posted: Mon Jun 12, 2006 5:18 pm
by Rxke
Thought so, sigh.

Posted: Tue Jun 13, 2006 2:20 pm
by eddyp
Rxke wrote:
Edit: nevermind, downloaded the tarbals, compiling now :)
But I'm confused how to get the svn stuff going? In the Wiki HowTo, svn seems recommended, so...

I installed svn, then typed
svn checkout svn://svn.berlios.de/yourproject/trunk
and got a lot of files scrolling by, but I'm not sure what happened... Are these files now downloaded? Where? And I guess just blindly copying svn checkout svn://svn.berlios.de/yourproject/trunk
was a bad decision, looks like it checked a lot of stuff I won't use, like Growl etc...
That svn URI is only an example, but I think usually you should stick with released tarballs.
Rxke wrote:
or should I stick with the tarballs?
Look at SVN documentation at wiki.debian.org/SVN if you want to learn more about SVN.

Posted: Tue Jun 13, 2006 3:10 pm
by Rxke
it worked allright, I was just too lazy to look around where it was being downloaded, heh (/trunk , of course, heehee, only discovered after I'd downloaded the tarballs )
Anyway, compling works, Oolite on my card does not :(