PDA

View Full Version : Help with installing ClanLib on Linux/Debian Squeeze/ARM/Raspberry pi



Paul C
09-11-2012, 06:47 PM
Hi

I am trying to get Clanlib onto my Raspberry PI. I tried to follow the documentation http://clanlib.org/wiki/MainDocs:GNU_C%2B%2B_on_Linux

but this got to a point then froze. and I had to reinstall linux (Debian Squeeze)

If you need any more information please ask.

I hope someone can help me get programming some games on my raspi!

Thanks

Paul C

sphair
09-13-2012, 10:02 AM
I'm afraid you are giving too little information for people to help you. "this got to a point then froze", you have to be specific what point it reached for instance.

Paul C
09-18-2012, 03:46 PM
It crashed on the first part "installing prerequisites"

Took a while doing what looked like the right stuff... but then froze.
I'll do it again and make some notes this time :cool:

Paul C
09-18-2012, 04:21 PM
ok. one question.
How much space do I need to just install the prerequisites? (still can't get past this stage)
I have 4gb sd card.

cheers

Paul C
09-19-2012, 08:39 PM
anybody know?

I got installing again and there were a few errors saying not enough space.... I'd like to make sure this is the problem before waste money on a new sd card.

sphair
09-20-2012, 04:29 PM
I have no idea about storage requirements.

What kind of hardware is in that thing? Clanlib is designed to run on modern graphiccards with good opengl shader support. If this thing does not have that, it might be wise to choose a simpler game library, like SDL.

Paul C
09-24-2012, 01:51 PM
I have no idea about storage requirements.

What kind of hardware is in that thing? Clanlib is designed to run on modern graphiccards with good opengl shader support. If this thing does not have that, it might be wise to choose a simpler game library, like SDL.

I have installed Quake III and it plays ok. (i have cleared the sd card and reinstalled debian since then - in case that was causing problems with my clanlib install)
I grabbed this off the raspberry pi website:

The GPU provides Open GL ES 2.0, hardware-accelerated OpenVG, and 1080p30 H.264 high-profile decode.

The GPU is capable of 1Gpixel/s, 1.5Gtexel/s or 24 GFLOPs of general purpose compute and features a bunch of texture filtering and DMA infrastructure.

That is, graphics capabilities are roughly equivalent to Xbox 1 level of performance. Overall real world performance is something like a 300MHz Pentium 2, only with much, much swankier graphics.

I would much rather use Clanlib than SDL...

I am really surprised that no one else has posted anything about using it on a raspberry pi. Not on this forum or others. I only bought the thing so I could put my clanlib games on it!!

If anyone has had success getting Clanlib on the pi then please get in touch!

Judas
09-24-2012, 03:39 PM
Quake 3 is from 1999, so not exactly modern. :)

That said, OpenGL ES 2.0 is about as modern as it gets for embedded devices. Unfortunately the OpenGL ES support in ClanLib is very experimental and due to lack of patches and/or developer support there is not really any real support for mobile platforms currently.