Compilation environment:
Windows 10
MSYS2 provided by the MAME official website
NDK-rc28
SDL-2.32.10
Environment variable configuration:
export SDL_INSTALL_ROOT=/vendor/sdl
export ANDROID_NDK_HOME=/vendor/android-ndk
Compilation command:
make -j5 android-arm64 STRIP_SYMBOLS=1 REGENIE=1
SDL has been compiled for the arm64 version using NDK. sdl2-config and libSDL2.so were placed in the SDL_INSTALL_ROOT/bin and SDL_INSTALL_ROOT/lib directories respectively, and the .h files were placed in the SDL_INSTALL_ROOT/include/SDL2 directory.
After entering msys2 from mingw64.exe and configuring the environment variables, executing the make command reports the following errors:
