概述
(py37_paddle) ➜ Paddle-Lite git:(zxdev) ./lite/tools/build_android.sh --arch=armv8 --with_cv=ON --with_extra=ON
-- Found Paddle host system: macosx, version: 10.15.5
-- Found Paddle host system's CPU: 12 cores
-- Found host C compiler: /usr/bin/gcc
-- Found host CXX compiler: /usr/bin/g++
-- Lite ARM Compile android with armv8
-- Android: Targeting API '23' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64'
CMake Error at /usr/local/share/cmake-3.10/Modules/Platform/Android/Determine-Compiler-NDK.cmake:97 (message):
Android: No toolchain for ABI 'arm64-v8a' found in the NDK:
/Users/zhangxin/Library/Android/sdk/ndk/21.0.6113669
Call Stack (most recent call first):
/usr/local/share/cmake-3.10/Modules/Platform/Android/Determine-Compiler.cmake:39 (include)
/usr/local/share/cmake-3.10/Modules/Platform/Android-Determine-CXX.cmake:1 (include)
/usr/local/share/cmake-3.10/Modules/CMakeDetermineCXXCompiler.cmake:26 (include)
CMakeLists.txt:32 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/Users/zhangxin/github/Paddle-Lite/build.lite.android.armv8.gcc/CMakeFiles/CMakeOutput.log".
make: *** No rule to make target `publish_inference'. Stop.
最后
以上就是忧郁苗条为你收集整理的mac android v8 编译,Mac上编译Android版Paddle-Lite问题03_No toolchain for ABI arm64-v8a found in the NDK...的全部内容,希望文章能够帮你解决mac android v8 编译,Mac上编译Android版Paddle-Lite问题03_No toolchain for ABI arm64-v8a found in the NDK...所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复