Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

基于Paddle Lite框架下的编译问题 #10508

Open
weibinlee08 opened this issue Apr 28, 2024 · 3 comments
Open

基于Paddle Lite框架下的编译问题 #10508

weibinlee08 opened this issue Apr 28, 2024 · 3 comments
Assignees

Comments

@weibinlee08
Copy link

weibinlee08 commented Apr 28, 2024

基于Paddle Lite框架下的编译问题
问题:
基于RK3399的硬件,在ARM Linux 环境下编译ARM Linux 的Paddle Lite 源码,参数with_python、with_extra、with_cv设置 ON,其它值默认。
配置报错如下:
CMakeFiles/Makefile2:425: recipe for target 'lite/CMakeFiles/publish_inference.dir/rule' failed
make[1]: *** [lite/CMakeFiles/publish_inference.dir/rule] Error 2
Makefile:222: recipe for target 'publish_inference' failed
make: *** [publish_inference] Error 2
(在编译Paddle Lite源码时遇到错误,错误信息表明在构建publish_inference目标时失败了。)

- 版本、环境信息:
   1)Paddle Lite 版本:Paddle Lite v2.6及以上版本
   2)Host 环境:Ubuntu 18.04
   3)运行设备环境:RK3399
 
- 编译/安装方式信息:
1)pip 安装/docker 安装
2)本地编译:编译命令如下
 # 下载 Paddle Lite 源码并切换到发布分支,如 develop
git clone https://github.com/PaddlePaddle/Paddle-Lite.gitcd Paddle-Lite && git checkout develop

删除 third-party 目录,编译脚本会自动从国内 CDN 下载第三方库文件# rm -rf third-party

执行编译脚本

./lite/tools/build_linux.sh

**- 复现信息:**如为报错,如上即为复现,按照官方的步骤执行https://www.paddlepaddle.org.cn/lite/v2.12/source_compile/arm_linux_compile_arm_linux.html
- 问题描述:
基于RK3399的硬件,在ARM Linux 环境下编译ARM Linux 的Paddle Lite 源码,参数with_python、with_extra、with_cv设置 ON,其它值默认。
配置报错如下:
CMakeFiles/Makefile2:425: recipe for target 'lite/CMakeFiles/publish_inference.dir/rule' failed
make[1]: *** [lite/CMakeFiles/publish_inference.dir/rule] Error 2
Makefile:222: recipe for target 'publish_inference' failed
make: *** [publish_inference] Error 2
(在编译Paddle Lite源码时遇到错误,错误信息表明在构建publish_inference目标时失败了。)

@weibinlee08
Copy link
Author

感谢各位老师和社区贡献者解答,谢谢

@shentanyue
Copy link
Collaborator

您好,问题是已经解决了吗?

1 similar comment
@loeb-chen
Copy link

您好,问题是已经解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants