You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently experiencing an unexpected issue on my macOS system (Version: 13.5.1, Build: 22G90) with an M1 CPU. Despite compiling my project for the ARM architecture using Nim, the system insists on requiring the x86 version of the SDL2 library, which is incompatible with the ARM architecture of the M1 chip.
dlopen(libSDL2.dylib, 0x0002): tried: '/opt/homebrew/lib/libSDL2.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), 'libSDL2.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibSDL2.dylib' (no such file), '/usr/lib/libSDL2.dylib' (no such file, not in dyld cache), 'libSDL2.dylib' (no such file)
could not load: libSDL2.dylib
This error arises when attempting to run the compiled program. It seems like an architecture mismatch issue, specifically between the SDL2 library and the M1 chip's ARM architecture.
The text was updated successfully, but these errors were encountered:
I'm currently experiencing an unexpected issue on my macOS system (Version: 13.5.1, Build: 22G90) with an M1 CPU. Despite compiling my project for the ARM architecture using Nim, the system insists on requiring the x86 version of the SDL2 library, which is incompatible with the ARM architecture of the M1 chip.
Compile Command:
Error Message:
This error arises when attempting to run the compiled program. It seems like an architecture mismatch issue, specifically between the SDL2 library and the M1 chip's ARM architecture.
The text was updated successfully, but these errors were encountered: