PaddlePaddle / Paddle-Lite

PaddlePaddle High Performance Deep Learning Inference Engine for Mobile and Edge (飞桨高性能深度学习端侧推理引擎)
https://www.paddlepaddle.org.cn/lite
Apache License 2.0
6.98k stars 1.61k forks source link

如何编译安卓 32位库 #7680

Closed Sno-dl closed 9 months ago

Sno-dl commented 3 years ago

我的安卓开发板是32位的,运行paddleocr 的C++ 示例时报错:./ocr_db_crnn: not executable: 64-bit ELF file

请问如何编译android 32位库

paddle-bot-old[bot] commented 3 years ago

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档常见问题历史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!

mjp9527 commented 3 years ago

./lite/tools/build_android.sh --arch=armv7 --toolchain=clang --android_stl=c++_static --with_extra=ON, 请在docker下编译

chenjiaoAngel commented 3 years ago

可以参考源码编译文档进行编译:https://paddle-lite.readthedocs.io/zh/latest/source_compile/compile_env.html