我是靠谱客的博主 忧郁苗条,最近开发中收集的这篇文章主要介绍mac android v8 编译,Mac上编译Android版Paddle-Lite问题03_No toolchain for ABI arm64-v8a found in the NDK...,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

(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...所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(50)

评论列表共有 0 条评论

立即
投稿
返回
顶部