libretro / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
38 stars 60 forks source link

[Wii] Can't compile on Wii #216

Closed saulfabregwiivc closed 1 year ago

saulfabregwiivc commented 1 year ago

As the title says when i attempt to compile the core for the Nintendo Wii (on Windows) it just throw me:

...
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc -c -oplatform/common/mp3_sync.o platform/common/mp3_sync.c -Ipico/cd/libchdr/deps/lzma-19.00/include -Ipico/cd/libchdr/include -I/home/ASUS/picodrivelibretro -I platform/libretro/libretro-common/include -I platform/libretro/libretro-common/include/compat -I platform/libretro/libretro-common/include/encodings -I platform/libretro/libretro-common/include/streams -I platform/libretro/libretro-common/include/string -I platform/libretro/libretro-common/include/vfs -DGIT_VERSION=\"ff023d43\" -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DNO_ZLIB -D__LIBRETRO__ -DUSE_LIBRETRO_VFS  -O3 -DNDEBUG -I/home/ASUS/picodrivelibretro -falign-functions=2 -DUSE_LIBCHDR -Izlib -DEMU_F68K -D_USE_CZ80 -DDRC_SH2
/opt/devkitpro/devkitPPC/bin/powerpc-eabi-gcc -c -oplatform/common/mp3_drmp3.o platform/common/mp3_drmp3.c -Ipico/cd/libchdr/deps/lzma-19.00/include -Ipico/cd/libchdr/include -I/home/ASUS/picodrivelibretro -I platform/libretro/libretro-common/include -I platform/libretro/libretro-common/include/compat -I platform/libretro/libretro-common/include/encodings -I platform/libretro/libretro-common/include/streams -I platform/libretro/libretro-common/include/string -I platform/libretro/libretro-common/include/vfs -DGIT_VERSION=\"ff023d43\" -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DNO_ZLIB -D__LIBRETRO__ -DUSE_LIBRETRO_VFS  -O3 -DNDEBUG -I/home/ASUS/picodrivelibretro -falign-functions=2 -DUSE_LIBCHDR -Izlib -DEMU_F68K -D_USE_CZ80 -DDRC_SH2
make: *** No rule to make target 'pico/cd/libchdr/src/libchdr_chd.o', needed by 'picodrive_libretro_wii.a'.  Stop.

What's going on, or am i dong something wrong? Thanks!

saulfabregwiivc commented 1 year ago

Ok, it was MY fault. I forgot to download the code for libchdr, and a few other libraries.

If i'm allowed to ask, how i can download (get) the code of PicoDrive including all the submodules and libraries all in one time? For avoid wasting my time by just downloading each one of the libraries required by the code for compile.

Thanks!