Skip to content

Commit

Permalink
Adding README
Browse files Browse the repository at this point in the history
  • Loading branch information
gzorin committed Dec 31, 2011
1 parent 38a4b7d commit d8a5cf1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
@@ -0,0 +1,19 @@
This is a collection of third-party libraries used by some of the examples distributed with the [RSXGL project](http://www.github.com/gzorin/RSXGL) (they're likely useful for creating new PS3 OpenGL programs as well).

To build the libraries for PS3 homebrew, you need a [toolchain](http://github.com/ps3dev/ps3toolchain) (rsxgl-portlibs libraries don't depend upon RSXGL itself, or upon the [PSL1GHT SDK project](http://github.com/ps3dev/PSL1GHT)). You'll also need cmake and pkg-config installed on your build system.

If you've installed ps3toolchain as it's normally done, the following commands should work:

./configure --host=powerpc64-ps3-elf --prefix=/usr/local/ps3dev/portlibs/ppu
make
make install

If you want to keep these libraries separate from the other ported libraries installed by ps3toolchain, you can use the following configure command:

./configure --host=powerpc64-ps3-elf --prefix=/usr/local/ps3dev/rsxgl-portlibs/ --with-sdk-directory=/usr/local/ps3dev/portlibs/ppu/

The --with-sdk-directory argument is necessary to find certain libraries that ps3toolchain already provides (such as zlib).

The following libraries are provided:
* [The Open Asset Import Library](http://assimp.sourceforge.net/)
* [zziplib](http://zziplib.sourceforge.net/)

0 comments on commit d8a5cf1

Please sign in to comment.