OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: coldfusion on May 21, 2004, 09:02:48 pm

Title: I built SDL 1.2.7
Post by: coldfusion on May 21, 2004, 09:02:48 pm
Recently I\'ve build SDL 1.2.7 on A SL-5500. How many
have built SDL (with includes)?
Title: I built SDL 1.2.7
Post by: CoreyC on May 21, 2004, 09:14:10 pm
awsome... are you going to share it?
Title: I built SDL 1.2.7
Post by: Ashitaka on June 08, 2004, 05:18:41 am
I also built SDL 1.2.7 for Zaurus using the instructions given for the cross-compilation of VLC (video player). It seems to work, since VLC is still running after I replace the libraries on the Zaurus.
Of course, you have to change the \"/opt/cross\" to indicate the path to the installation of you cross-compiling toolchain.

$ tar xvzf SDL-1.2.7.tar.gz
$ cd SDL-1.2.7
$ ./configure --enable-release --target=arm-linux --host=arm-linux
    --disable-esd
    --prefix=/opt/cross/arm-linux/usr
    --x-includes=/opt/cross/arm-linux/usr/X11R6/include
    --x-libraries=/opt/cross/arm-linux/usr/X11R6/lib
    --disable-video-opengl
$ export PATH=/opt/cross/bin:$PATH
$ make && make install

BUT, I don\'t know how to program using that
I have some good experience of SDL programming for computers, but on my Zaurus C760 I just have \"No available video device\" when doing SDL_Init(SDL_INIT_VIDEO)...
Does anyone have the source of an example program using SDL for Zaurus ? Thanks !
Title: I built SDL 1.2.7
Post by: ced on June 08, 2004, 06:23:31 am
I\'ve compiled the same version for qtopia and it works as expected...
Title: I built SDL 1.2.7
Post by: Mickeyl on June 08, 2004, 07:04:54 am
It\'s also in OE since months
Title: I built SDL 1.2.7
Post by: _Psycho on June 08, 2004, 07:12:42 am
Quote
BUT, I don\'t know how to program using that
I have some good experience of SDL programming for computers, but on my Zaurus C760 I just have \"No available video device\" when doing SDL_Init(SDL_INIT_VIDEO)...
Does anyone have the source of an example program using SDL for Zaurus ? Thanks !


for SDL itself i suggest to check on zports.sf.net, its on the cvs, there is a lots of SDL patches for the c7x0 devices. For example, well you can always check scummvm source or something else that use SDL on the zaurus


Edit: For the original post, thats a yes
Title: I built SDL 1.2.7
Post by: Ashitaka on June 08, 2004, 10:48:09 pm
OK thanks I\'ll check that out !
If it works well I\'ll maybe port my strategy game (you know M.A.X.) for the Zaurus
Title: I built SDL 1.2.7
Post by: cmisip on June 08, 2004, 11:50:01 pm
How about working on SDL mixer and adding tremor codec?
Title: I built SDL 1.2.7
Post by: Ashitaka on June 09, 2004, 12:26:36 am
Not really interested