libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
86 stars 68 forks source link

Problems building the core for ppc64le #195

Open anengineer1 opened 3 years ago

anengineer1 commented 3 years ago

Hi, I was trying to compile the core with the -DLIBRETRO=ON flag and it failed with the following message

[ 82%] Linking CXX executable ../../../Binaries/dolphin-emu /usr/bin/ld: ../../../Externals/libpng/CMakeFiles/png.dir/pngrutil.c.o: in functionpng_read_filter_row': pngrutil.c:(.text+0x87a8): undefined reference to png_init_filter_functions_vsx' /usr/bin/ld: ../../../Externals/libpng/CMakeFiles/png.dir/pngrutil.c.o: in functionpng_read_filter_row': pngrutil.c:(.text+0x87a8): undefined reference to png_init_filter_functions_vsx' collect2: error: ld returned 1 exit status make[2]: *** [Source/Core/DolphinLibretro/CMakeFiles/dolphin_libretro.dir/build.make:260: dolphin_libretro.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:2018: Source/Core/DolphinLibretro/CMakeFiles/dolphin_libretro.dir/all] Error 2 make[1]: *** Se espera a que terminen otras tareas.... collect2: error: ld returned 1 exit status make[2]: *** [Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/build.make:215: Binaries/dolphin-emu-nogui] Error 1 make[1]: *** [CMakeFiles/Makefile2:1888: Source/Core/DolphinNoGUI/CMakeFiles/dolphin-nogui.dir/all] Error 2 /usr/bin/ld: ../../../Externals/libpng/CMakeFiles/png.dir/pngrutil.c.o: in functionpng_read_filter_row': pngrutil.c:(.text+0x87a8): undefined reference to png_init_filter_functions_vsx' collect2: error: ld returned 1 exit status make[2]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/build.make:2367: Binaries/dolphin-emu] Error 1 make[1]: *** [CMakeFiles/Makefile2:1939: Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2 make: *** [Makefile:171: all] Error 2

The problem does not appear when compiling not using the -DLIBRETRO=ON