How to install the SDL libraries

From wiki.gp2x.org
Note: this is a page for developers, users probably want  User FAQ:  How to install the SDL Libraries on the GP2X.

This page is ambiguous. There are two different reasons you'd want to install SDL libraries - one is for your development environment so that you can build programs that use SDL, the other is that you might need to install some shared libraries to your GP2X in order to run some programs that don't use static linking. The game will say if this is necessary in the installation instructions.

Contents

Installing the SDL development libraries (for developers)

Open2x CVS

Only in CVS for now I think.

http://cvs.sourceforge.net/viewcvs.py/open2x/

  • cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/open2x login
  • cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/open2x co libs-gp2x

The password is blank.

snafflibs

I've made a tarball of the SDL, and some other random libraries at http://gp2x.org/gp2x/libs - these are just a quick and dirty build of the pre-release GPH sources, not well tested. The other libraries haven't been optimised for ARM or anything and I hadn't intended to distribute them, but some people seem to find them useful. It's only worth using these until something more official gets released either as part of the Open2x project, devkitPro, or from GPH, or from someone/anyone else :)

Check http://www.gp32x.com/board/index.php?showtopic=22436&view=findpost&p=304861 for some more help, dont have the time to edit the article properly right now.

Installing the dynamic SDL Libraries on the GP2X (for users)

see: User FAQ: How to install the SDL Libraries on the GP2X

Personal tools