View Single Post
Old 08 March 2021, 01:43   #1
cloverskull
Registered User

 
Join Date: Sep 2018
Location: California
Posts: 132
Compiling FS-UAE for Apple Silicon

Hi Frode,

I'm trying to compile FS-UAE following the instructions here. My architecture is Apple Silicon.

After installing the dependencies with brew, I received errors because the SDL2 libs are in a different place. What I had to do to circumvent this was do the following for the `./configure` portion:

Code:
SDL2_CFLAGS=/opt/homebrew/include/SDL2 SDL2_LIBS=/opt/homebrew/lib ./configure
This got me quite a bit farther along but then it failed with an error I can't work past:

Code:
ld: can't map file, errno=22 file '/opt/homebrew/include/SDL2' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [gen/genlinetoscr] Error 1
Any thoughts where to go from here?

Last edited by FrodeSolheim; 08 March 2021 at 08:48. Reason: Changed title
cloverskull is offline  
 
Page generated in 0.04435 seconds with 11 queries