[openailab@localhost Paddle-Lite]$ ./lite/tools/build_linux.sh --with_cv=ON --with_python=ON --python_version=3.6
Warning: build full_publish to use python.
--2021-06-11 14:06:39-- https://paddlelite-data.bj.bcebos.com/third_party_libs/third-party-ea5576.tar.gz
Resolving paddlelite-data.bj.bcebos.com (paddlelite-data.bj.bcebos.com)... 2409:8c00:6c21:10ad:0:ff:b00e:67d, 220.181.33.43, 220.181.33.44
Connecting to paddlelite-data.bj.bcebos.com (paddlelite-data.bj.bcebos.com)|2409:8c00:6c21:10ad:0:ff:b00e:67d|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12399793 (12M) [application/x-gzip]
Saving to: ‘third-party-ea5576.tar.gz’
third-party-ea5576. 100%[===================>] 11.83M 4.60MB/s in 2.6s
2021-06-11 14:06:43 (4.60 MB/s) - ‘third-party-ea5576.tar.gz’ saved [12399793/12399793]
-- Found Paddle host system: , version:
-- Found Paddle host system's CPU: 4 cores
-- CMAKE_CXX_FLAGS:
-- CMAKE_CXX_FLAGS_RELEASE:
-- armlinux CMAKE_C_COMPILER: aarch64-linux-gnu-gcc
-- armlinux CMAKE_CXX_COMPILER: aarch64-linux-gnu-g++
-- 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:31 (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:31 (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/openailab/Paddle-Lite/build.lite.linux.armv8.gcc/CMakeFiles/CMakeOutput.log".
See also "/home/openailab/Paddle-Lite/build.lite.linux.armv8.gcc/CMakeFiles/CMakeError.log".
4条答案
按热度按时间hgb9j2n61#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档、常见问题、历史Issue来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ and Github Issue to get the answer.Have a nice day!
lhcgjxsq2#
c7rzv4ha3#
CMake Error at CMakeLists.txt:31 (project):
The CMAKE_CXX_COMPILER:
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:31 (project):
The CMAKE_C_COMPILER:
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/Paddle-Lite/build.lite.linux.armv7.gcc/CMakeFiles/CMakeOutput.log".
See also "/home/pi/Paddle-Lite/build.lite.linux.armv7.gcc/CMakeFiles/CMakeError.log".
iovurdzv4#
设置完环境变量又报了别的