S
S
sitev_ru2018-02-02 12:00:12
Android
sitev_ru, 2018-02-02 12:00:12

Why does SFML for Android install fail?

I'm trying to install SFML for Android using this doc: https://github.com/SFML/SFML/wiki/Tutorial:-Buildi...
But I got an error:

C:\work\SFML\build\armeabi>cmake -DANDROID_ABI=armeabi -DCMAKE_TOOLCHAIN_FILE=..
/../cmake/toolchains/android.toolchain.cmake ../..
CMake Error at cmake/toolchains/android.toolchain.cmake:802 (message):
Specified Android native API level 'android-9' is not supported by your
NDK/toolchain.
Call Stack (most recent call first):
build/armeabi/CMakeFiles/3.9.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:62 (project)
 
 
CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.9/Modules/CMak
eForceCompiler.cmake:69 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/toolchains/android.toolchain.cmake:1153 (CMAKE_FORCE_C_COMPILER)
build/armeabi/CMakeFiles/3.9.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:62 (project)
 
 
CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.9/Modules/CMak
eForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/toolchains/android.toolchain.cmake:1165 (CMAKE_FORCE_CXX_COMPILER)
build/armeabi/CMakeFiles/3.9.2/CMakeSystem.cmake:6 (include)
CMakeLists.txt:62 (project)
 
 
CMake Error at CMakeLists.txt:62 (project):
CMAKE_SYSTEM_NAME is 'Android' but 'NVIDIA Nsight Tegra Visual Studio
Edition' is not installed.
 
 
-- Configuring incomplete, errors occurred!
See also "C:/work/SFML/build/armeabi/CMakeFiles/CMakeOutput.log".

How to solve the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question