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

ubuntu 22.04 x64 编译paddle-lite x86出错 lite/CMakeFiles/publish_inference.dir/rule #10510

Open
XinMon44521 opened this issue May 6, 2024 · 2 comments
Assignees

Comments

@XinMon44521
Copy link

[ 6%] Completed 'extern_protobuf'
[ 6%] Built target extern_protobuf
CMakeFiles/Makefile2:651: recipe for target 'lite/CMakeFiles/publish_inference.dir/rule' failed
make[1]: *** [lite/CMakeFiles/publish_inference.dir/rule] Error 2
Makefile:300: recipe for target 'publish_inference' failed
make: *** [publish_inference] Error 2
总是进行到这步出错,https://github.com/PaddlePaddle/Paddle-Lite/issues/5299这个解决方法我已经试过了,重编译后报相同的错误
执行的命令为./lite/tools/build_linux.sh --arch=x86 --with_python=ON --with_log=ON

@csy0225
Copy link
Collaborator

csy0225 commented May 8, 2024

这个一般都是下载第三方库时引起的错误,下载时,可以先把代码目录下面(不是 build 目录)的 third-party 删除掉,在尝试编译。

@csy0225
Copy link
Collaborator

csy0225 commented May 8, 2024

然后可以确认下您的网络环境是否能够单独下载相应的第三方库

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

2 participants