下载的Android demo Cmake编辑失
xinyi_mobile 发布于2018-07 浏览:2454 回复:1
0
收藏

Build command failed.

Error while executing process D:\android_studio\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HE:\face\facesdk -BE:\face\facesdk\.externalNativeBuild\cmake\release\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-19 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=E:\face\facesdk\build\intermediates\cmake\release\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=D:\android-ndk-r12b-darwin-x86_64\android-ndk-r12b -DCMAKE_TOOLCHAIN_FILE=D:\android_studio\sdk\cmake\3.6.4111459\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=D:\android_studio\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}

CMake Error in CMakeLists.txt:

The CMAKE_C_COMPILER:

D:/android-ndk-r12b-darwin-x86_64/android-ndk-r12b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment

variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to

the compiler, or to the compiler name if it is in the PATH.

The CMAKE_CXX_COMPILER:

D:/android-ndk-r12b-darwin-x86_64/android-ndk-r12b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe

variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path

to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!

See also "E:/face/facesdk/.externalNativeBuild/cmake/release/armeabi-v7a/CMakeFiles/CMakeOutput.log".

Build command failed.

Error while executing process D:\android_studio\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HE:\face\facesdk -BE:\face\facesdk\.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-19 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=E:\face\facesdk\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=D:\android-ndk-r12b-darwin-x86_64\android-ndk-r12b -DCMAKE_TOOLCHAIN_FILE=D:\android_studio\sdk\cmake\3.6.4111459\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=D:\android_studio\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja}

CMake Error in CMakeLists.txt:

The CMAKE_C_COMPILER:

D:/android-ndk-r12b-darwin-x86_64/android-ndk-r12b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment

variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to

the compiler, or to the compiler name if it is in the PATH.

The CMAKE_CXX_COMPILER:

D:/android-ndk-r12b-darwin-x86_64/android-ndk-r12b/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe

variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path

to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!

See also "E:/face/facesdk/.externalNativeBuild/cmake/debug/armeabi-v7a/CMakeFiles/CMakeOutput.log".

收藏
点赞
0
个赞
共1条回复 最后由xinyi_mobile回复于2018-07
#2xinyi_mobile回复于2018-07

ndk的版本不匹配  目前用的是13b

0
TOP
切换版块