在树莓派上编译Paddle-Lite时出现问题
Created by: 13433583369
命令 **root@raspberrypi:/home/pi/kouzhaoarm/Paddle-Lite# ./lite/tools/build_linux.sh \
--with_python=ON\
--arch=armv8** 返回的出错信息 -- Found Paddle host system: , version:
-- Found Paddle host system's CPU: 4 cores
-- Found host C compiler: /usr/bin/gcc
-- Found host CXX compiler: /usr/bin/g++
-- Lite ARM Compile armlinux with armv8 gcc
-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
CMake Error at CMakeLists.txt:32 (project):
The CMAKE_CXX_COMPILER:
aarch64-linux-gnu-g++
is not a full path and was not found in the PATH.
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.
CMake Error at CMakeLists.txt:32 (project):
The CMAKE_C_COMPILER:
aarch64-linux-gnu-gcc
is not a full path and was not found in the PATH.
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.
-- Configuring incomplete, errors occurred!
See also "/home/pi/kouzhaoarm/Paddle-Lite/build.lite.linux.armv8.gcc/CMakeFiles/CMakeOutput.log".
See also "/home/pi/kouzhaoarm/Paddle-Lite/build.lite.linux.armv8.gcc/CMakeFiles/CMakeError.log".