development:compiling:player:wii
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| development:compiling:player:wii [2012/01/18 18:57] – created fdelapena | development:compiling:player:wii [2015/10/03 09:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| * SDL_mixer (> | * SDL_mixer (> | ||
| Precompiled SDL-libs can be found on the website from [[https:// | Precompiled SDL-libs can be found on the website from [[https:// | ||
| - | * Independent JPEG (>=8a). | ||
| * libpng (> | * libpng (> | ||
| * zlib (> | * zlib (> | ||
| * freetype (> | * freetype (> | ||
| They can be found in the [[http:// | They can be found in the [[http:// | ||
| - | * iconv ([[https://code.google.com/p/mplayer-ce/ | + | * iconv |
| - | * [[http:// | + | * pixman |
| + | * expat | ||
| + | Recent versions can be found here: https://github.com/carstene1ns/portlibs-wii | ||
| - | Their are some linker problems with SDL_mixer when ogg is enabled, either try to compile an ogg lib (and link against -lvorbisfile -lvorbis -lvorbisenc -logg) or recompile SDL_mixer without ogg support (remove -DOGG_MUSIC from the Makefile). | + | You need to build liblcf as portlib: |
| + | <code bash> | ||
| + | cd liblcf | ||
| + | ./configure --host=powerpc-eabi --prefix=" | ||
| + | --disable-shared --enable-static \ | ||
| + | CFLAGS=" | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | Once you have all dependencies above, change into the player/ | ||
| + | |||
| + | ===Notes about music playback (Ogg, Midi)=== | ||
| + | |||
| + | There can be some linker problems with SDL_mixer when ogg is enabled, either try to compile an ogg lib (and link against -lvorbisfile -lvorbis -lvorbisenc -logg) or recompile SDL_mixer without ogg support (remove -DOGG_MUSIC from the Makefile). | ||
| For midi you should also patch some lines in the sdl_mixer-timidity-folder (or you will have to put 20mb of " | For midi you should also patch some lines in the sdl_mixer-timidity-folder (or you will have to put 20mb of " | ||
| Line 26: | Line 40: | ||
| ''# | ''# | ||
| ''# | ''# | ||
| - | |||
| - | Once you have all dependencies above, just type '$ make' in the builds/wii/ directory and it will build the wii.dol. That's all! | ||
development/compiling/player/wii.1326913078.txt.gz · Last modified: 2013/06/30 23:46 (external edit)