Closed aquawicket closed 2 years ago
I figured out how to get this to compile. It seems generating the build this way enables the USING_GENERATED_CONFIG_H
flag. This causes SDL_config.h to bypass SDL_config_android.h, And in doing so, the HAVE_GCC_ATOMICS
in not defined, which seems to be needed by arm64.
My workaround was to call cmake with -DCMAKE_CXX_FLAGS=-DHAVE_GCC_ATOMICS=1...
added to the cxx_flags.
Having issues compiling SDL2 for Android arm64-v8a using CMake / android.toolchain.cmake / Visual Studio 17 2022 This same setup compiles and runs fine for armeabi-v7a and the Preprocessor
__arm__
is defined and working in SDL_spinlock.c but not for arm64-v8a, which is A64 Anyone know what I'm missing to get this working.