./build-android.sh -t rk3588 -a arm64-v8a -d yolov5
===================================
BUILD_DEMO_NAME=yolov5
BUILD_DEMO_PATH=examples/yolov5/cpp
TARGET_SOC=rk3588
TARGET_ARCH=arm64-v8a
BUILD_TYPE=Release
ENABLE_ASAN=OFF
INSTALL_DIR=/media/sf_RKNN/rknn_model_zoo/install/rk3588_android_arm64-v8a/rknn_yolov5_demo
BUILD_DIR=/media/sf_RKNN/rknn_model_zoo/build/build_rknn_yolov5_demo_rk3588_android_arm64-v8a_Release
ANDROID_NDK_PATH=/media/sf_RKNN/android-ndk-r19c
===================================
CMake Error at /usr/share/cmake-3.10/Modules/Platform/Android/Determine-Compiler-NDK.cmake:97 (message):
Android: No toolchain for ABI 'arm64-v8a' found in the NDK:
/media/sf_RKNN/android-ndk-r19c
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/Platform/Android/Determine-Compiler.cmake:39 (include)
/usr/share/cmake-3.10/Modules/Platform/Android-Determine-C.cmake:1 (include)
/usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:27 (include)
CMakeLists.txt:3 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/media/sf_RKNN/rknn_model_zoo/build/build_rknn_yolov5_demo_rk3588_android_arm64-v8a_Release/CMakeFiles/CMakeOutput.log".
CMakeOutput.log内容如下:
cat /media/sf_RKNN/rknn_model_zoo/build/build_rknn_yolov5_demo_rk3588_android_arm64-v8a_Release/CMakeFiles/CMakeOutput.log
The target system is: Android - 23 - aarch64
The host system is: Linux - 5.4.0-150-generic - x86_64
我在使用NDK编译时遇到NDK-r19没有arm64-v8a工具链的错误,错误如下:
CMakeOutput.log内容如下: