Open ace-han opened 1 year ago
Have the same issue. I've tried using both native ARM and rosetta and still wasn't able to get it to install on OS X 12.5 with Python 3.8.16.
This issue has a little more attention on the original repo
I think wchar.h not found
and stdio.h not found
have to do with the OS X SDK path.
Here are some links with similar issues:
I got further in the compilation by adding this to my ~/.bashrc
:
export CPATH=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/
The exact path to your SDK might differ for you, but the general idea might work.
I get this error now:
ld: library not found for -lm
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [genesis_plus_gx_libretro.dylib] Error 1
make[3]: *** [build/lib.macosx-11.1-arm64-cpython-38/retro/cores/genesis_plus_gx_libretro.dylib] Error 2
make[2]: *** [CMakeFiles/genesis.dir/all] Error 2
ld: library not found for -lc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [stella_libretro.dylib] Error 1
make[3]: *** [build/lib.macosx-11.1-arm64-cpython-38/retro/cores/stella_libretro.dylib] Error 2
make[2]: *** [CMakeFiles/atari2600.dir/all] Error 2
ld: library not found for -lm
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [snes9x_libretro.dylib] Error 1
make[3]: *** [build/lib.macosx-11.1-arm64-cpython-38/retro/cores/snes9x_libretro.dylib] Error 2
make[2]: *** [CMakeFiles/snes.dir/all] Error 2
make[1]: *** [CMakeFiles/retro.dir/rule] Error 2
make: *** [retro] Error 2
Issue summary
System information