他的回复:
这个是我用的toolchain.cmake里内容set(MDC_SDK /usr/local/ubuntu_crossbuild_devkit)set(CMAKE_C_COMPILER /usr/bin/aarch64-linux-gnu-gcc)set(CMAKE_CXX_COMPILER /usr/bin/aarch64-linux-gnu-g++)set(ara-exec_DIR ${MDC_SDK}/sysroot/usr/lib/cmake/exec/)set(CMAKE_FIND_ROOT_PATH ${MDC_SDK}/sysroot ${CMAKE_FIND_ROOT_PATH})