Open android-1995 opened 3 years ago
1.I use cmd.exe
2.cd yabause\src\android
3.cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=.../yabause/src/android/android.toolchain.cmake
4.compilation error
Specified ANDROID_ABI = "armeabi-v7a with NEON"
CMake Error at CMakeLists.txt:26 (yab_port_start):
Unknown CMake command "yab_port_start".
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.10)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
-- Configuring incomplete, errors occurred!
#----------------------------------------------------------------------------------------
# Android build.
#----------------------------------------------------------------------------------------
# How to build on Windows host.
# Requirements:
# 1) android-ndk-r10d or above.
# 2) ninja (https://github.com/martine/ninja)
# 3) Visual C++ ( for c68k code generation )
# Build step:
# 1) edit ANDROID_NDK PATH on "yabause/src/android/CMakeLists.txt"
# 2) cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=yabause/src/android/androidtoolchain.cmake
# 3) edit settings listed below
# ANDROID_ABI armeabi-v7a with NEON
# ANDROID_NATIVE_API_LEVEL 21
# YAB_PORTS android
# YAB_WANT_ARM7 checked
# 4) "Configure" and "Generate"
# 5) exec command prompt and exec "vcvarsall.bat x86" for building using cl.exe
# 6) exec eclipse and import "yabause/src/android"
#----------------------------------------------------------------------------------------
I read these notes, but I don’t know how to do it
Help, can anyone tell me how to compile with Android studio? I use windows. I don’t speak English. This is translated using Google Translate. Thank you