Paddle-Lite armlinux 本地编译报错

qcbq4gxm  于 2022-04-21  发布在  Java
关注(0)|答案(4)|浏览(369)

[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".

hgb9j2n6

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 APIFAQ and Github Issue to get the answer.Have a nice day!

lhcgjxsq

lhcgjxsq2#

  • 设置环境变量指定本地c/c++编译器,例如:
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++
c7rzv4ha

c7rzv4ha3#

CMake Error at CMakeLists.txt:31 (project):
The CMAKE_CXX_COMPILER:

arm-linux-gnueabi-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:

arm-linux-gnueabi-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/Paddle-Lite/build.lite.linux.armv7.gcc/CMakeFiles/CMakeOutput.log".
See also "/home/pi/Paddle-Lite/build.lite.linux.armv7.gcc/CMakeFiles/CMakeError.log".

iovurdzv

iovurdzv4#

设置完环境变量又报了别的

相关问题