-
Notifications
You must be signed in to change notification settings - Fork 433
Open
Description
I think android-cmake doesn't support NDK r16b yet.
In the NDK r16b, there's no include directory in ndk-r16b/andorid-**/arch-**/usr.
CMake Error at toolchain/android.toolchain.cmake:308 (file):
file STRINGS file
"/.../android-ndk-r16b/platforms/android-21/arch-arm/usr/include/android/api-level.h"
cannot be read.
Call Stack (most recent call first):
toolchain/android.toolchain.cmake:803 (__DETECT_NATIVE_API_LEVEL)
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:2 (project)
CMake Error at toolchain/android.toolchain.cmake:805 (message):
Specified Android API level (21) does not match to the level found ().
Probably your copy of NDK is broken.
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:2 (project)
CMake Deprecation Warning at /usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeForceCompiler.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):
toolchain/android.toolchain.cmake:1128 (CMAKE_FORCE_C_COMPILER)
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:2 (project)
CMake Deprecation Warning at /usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeForceCompiler.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):
toolchain/android.toolchain.cmake:1140 (CMAKE_FORCE_CXX_COMPILER)
/usr/local/Cellar/cmake/3.10.1/share/cmake/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels