使用Linux编译android的paddle-mobile库时报错
Created by: yeyupiaoling
在执行sh build.sh android
命令时报错,错误信息如下:
test@test:~/android_linux/paddle-mobile/tools$ sh build.sh android
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
/home/test/android_linux/android-ndk-r17b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
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.
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
/home/test/android_linux/android-ndk-r17b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
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 "/home/test/android_linux/paddle-mobile/build/release/arm-v7a/CMakeFiles/CMakeOutput.log".