Describe the bug
On Mac on Apple silicon, AT crashes with the below error:
dyld[5953]: Library not loaded: /usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib
Referenced from: /Users/orffen/Downloads/Airline Tycoon Deluxe/AT
Reason: tried: '/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (no such file), '/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (no such file), '/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
To Reproduce
Steps to reproduce the behavior:
Download the latest version of AT
Extract to folder where the Windows AT files are
Run ./AT
Expected behavior
AT uses the available library for the correct architecture (arm64).
Screenshots
N/A
Crash dumps
N/A
Additional context
I'm not sure how an x86_64 dylib would work on arm64 architecture; is this a compilation problem that needs a separate executable?
Additionally, I had to manually symlink to the default Homebrew installation directory; is it possible to add /opt/homebrew/opt/sdl2_ttf to the locations searched?
Your current version 1.7.2
Describe the bug On Mac on Apple silicon, AT crashes with the below error:
dyld[5953]: Library not loaded: /usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib Referenced from: /Users/orffen/Downloads/Airline Tycoon Deluxe/AT
Reason: tried: '/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (no such file), '/usr/local/opt/sdl2_ttf/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (no such file), '/opt/homebrew/Cellar/sdl2_ttf/2.22.0/lib/libSDL2_ttf-2.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
To Reproduce Steps to reproduce the behavior:
Expected behavior AT uses the available library for the correct architecture (arm64).
Screenshots N/A
Crash dumps N/A
Additional context I'm not sure how an x86_64 dylib would work on arm64 architecture; is this a compilation problem that needs a separate executable?
Additionally, I had to manually symlink to the default Homebrew installation directory; is it possible to add /opt/homebrew/opt/sdl2_ttf to the locations searched?