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
this is my build script cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_INSTALL_PREFIX="${workdir}/deploy" \ -DSDL2IMAGE_VENDORED=ON \ -DSDL2IMAGE_DEPS_SHARED=OFF \ -DSDL2IMAGE_SAMPLES=ON \ -DBUILD_SHARED_LIBS=OFF \ -DSDL2IMAGE_WEBP=ON \ -DCMAKE_OSX_ARCHITECTURES="arm64" \ -DCMAKE_SYSTEM_NAME=Darwin \ -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" ..
if modify -DCMAKE_OSX_ARCHITECTURES="arm64" to -DCMAKE_OSX_ARCHITECTURES="x86_64" success, but use arm64 failed
this is error message [ 95%] Building C object CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/mix.c.o In file included from /Users/jason/Desktop/SDL/SDL_mixer/src/codecs/timidity/common.c:11: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL.h:38: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL_cpuinfo.h:111: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture" #error "This header is only meant to be used on x86 and x64 architecture" ^ In file included from /Users/jason/Desktop/SDL/SDL_mixer/src/codecs/timidity/common.c:11: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL.h:38: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL_cpuinfo.h:111: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/immintrin.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/x86gprintrin.h:15:
The text was updated successfully, but these errors were encountered:
this is my build script
cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ -DCMAKE_INSTALL_PREFIX="${workdir}/deploy" \ -DSDL2IMAGE_VENDORED=ON \ -DSDL2IMAGE_DEPS_SHARED=OFF \ -DSDL2IMAGE_SAMPLES=ON \ -DBUILD_SHARED_LIBS=OFF \ -DSDL2IMAGE_WEBP=ON \ -DCMAKE_OSX_ARCHITECTURES="arm64" \ -DCMAKE_SYSTEM_NAME=Darwin \ -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0" ..
if modify -DCMAKE_OSX_ARCHITECTURES="arm64" to -DCMAKE_OSX_ARCHITECTURES="x86_64" success, but use arm64 failed
this is error message
[ 95%] Building C object CMakeFiles/SDL2_mixer.dir/src/codecs/timidity/mix.c.o In file included from /Users/jason/Desktop/SDL/SDL_mixer/src/codecs/timidity/common.c:11: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL.h:38: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL_cpuinfo.h:111: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/immintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture" #error "This header is only meant to be used on x86 and x64 architecture" ^ In file included from /Users/jason/Desktop/SDL/SDL_mixer/src/codecs/timidity/common.c:11: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL.h:38: In file included from /usr/local/Cellar/sdl2/2.30.9/include/SDL2/SDL_cpuinfo.h:111: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/immintrin.h:17: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/x86gprintrin.h:15:
The text was updated successfully, but these errors were encountered: