$ export DEVKITPRO=/opt/devkitpro
$ export DEVKITPPC=/opt/devkitpro/devkitPPC
$ make
make[3]: `/opt/devkitpro/examples/wii/audio/modplay/modplay.dol' is up to date.
make[3]: `/opt/devkitpro/examples/wii/audio/mp3player/mp3player.dol' is up to date.
oggplayer.c
/opt/devkitpro/examples/wii/audio/oggplayer/source/oggplayer.c:32:33: fatal error: tremor/ivorbiscodec.h: No such file or directory
compilation terminated.
make[3]: *** [oggplayer.o] Error 1
make[2]: *** [build] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
$ make
make[1]: se ingresa al directorio `/usr/local/devkitpro/examples/wii/audio'
make[2]: se ingresa al directorio `/usr/local/devkitpro/examples/wii/audio/modplay'
technique.mod
bin2s -a 32 /usr/local/devkitpro/examples/wii/audio/modplay/data/technique.mod | powerpc-eabi-as -o technique.mod.o
echo "extern const u8" `(echo technique.mod | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo technique.mod | tr . _)`.h
echo "extern const u8" `(echo technique.mod | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo technique.mod | tr . _)`.h
echo "extern const u32" `(echo technique.mod | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo technique.mod | tr . _)`.h
template.c
linking ... modplay.elf
output ... modplay.dol
make[2]: se sale del directorio `/usr/local/devkitpro/examples/wii/audio/modplay'
make[2]: se ingresa al directorio `/usr/local/devkitpro/examples/wii/audio/mp3player'
sample.mp3
bin2s -a 32 /usr/local/devkitpro/examples/wii/audio/mp3player/data/sample.mp3 | powerpc-eabi-as -o sample.mp3.o
echo "extern const u8" `(echo sample.mp3 | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo sample.mp3 | tr . _)`.h
echo "extern const u8" `(echo sample.mp3 | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo sample.mp3 | tr . _)`.h
echo "extern const u32" `(echo sample.mp3 | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo sample.mp3 | tr . _)`.h
template.c
linking ... mp3player.elf
output ... mp3player.dol
make[2]: se sale del directorio `/usr/local/devkitpro/examples/wii/audio/mp3player'
make[2]: se ingresa al directorio `/usr/local/devkitpro/examples/wii/audio/oggplayer'
sample.ogg
oggplayer.c
/usr/local/devkitpro/examples/wii/audio/oggplayer/source/oggplayer.c:32:33: fatal error: tremor/ivorbiscodec.h: No such file or directory
compilation terminated.
make[3]: *** [oggplayer.o] Error 1
make[2]: *** [build] Error 2
make[2]: se sale del directorio `/usr/local/devkitpro/examples/wii/audio/oggplayer'
make[1]: *** [all] Error 1
make[1]: se sale del directorio `/usr/local/devkitpro/examples/wii/audio'
make: *** [all] Error 1
/usr/local/devkitpro/examples/wii/audio/oggplayer/source/oggplayer.c:32:33: fatal error: tremor/ivorbiscodec.h: No such file or directory
paipum escribió:A ver si tienes suerte, yo he probado a compilar algunas aplicaciones y me han dado error porque estan escritas con versiones de librerias viejas a las que te encuentras y empieza a dar errores. Pero por lo genera te deberia compilar si tienes las librerias.
Si no es mucha indiscrecion, ¿te vas a poner a desarrollar algo? ¿O solo por curiosidad?
Saludos!
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
-L$(LIBOGC_LIB)
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \
-L$(LIBOGC_LIB) -L$(LIBOGC_LIB)/..
alberto@alberto-desktop:~$ cd /opt/devkitpro/examples/wii/template
alberto@alberto-desktop:/opt/devkitpro/examples/wii/template$ make
template.c
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc: 4: Syntax error: "(" unexpected
make[1]: *** [template.o] Error 2
make: *** [build] Error 2
alberto@alberto-desktop:/opt/devkitpro/examples/wii/template$