Paddle-Lite icon indicating copy to clipboard operation
Paddle-Lite copied to clipboard

请求提供更多的Windows Paddle lite预编译版本

Open ZhuGeRoastedFish opened this issue 3 years ago • 8 comments

我在Win10专业版下多次尝试编译Win版Paddle lite, 先后遭遇了因网络问题无法clone第三方库、找不到dirent.h、找不到pthread.h、找不到CL/cl2.hpp等问题, 导致最终编译失败, 希望官方开发者可以提供更多的Windows预编译版本. 目前需要以下两个版本的库: lite\tools\build_windows.bat without_python with_extra build_x86 with_static_mkl with_dynamic_crt with_opencl use_vs2019 以及 lite\tools\build_windows.bat without_python with_extra build_x86 with_static_mkl with_dynamic_crt use_vs2019

真诚地感谢!

ZhuGeRoastedFish avatar Nov 19 '21 10:11 ZhuGeRoastedFish

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

paddle-bot-old[bot] avatar Nov 19 '21 10:11 paddle-bot-old[bot]

收到您的需求。解决中。 您也可以根据文档https://paddle-lite.readthedocs.io/zh/latest/source_compile/windows_compile_windows.html 编译您需要的库。

xingjing1 avatar Nov 19 '21 11:11 xingjing1

@ZhuGeRoastedFish 请把您的编译命令发一下,以及报错的截图、分支发一下。

xingjing1 avatar Nov 22 '21 08:11 xingjing1

编译命令为lite\tools\build_windows.bat without_python with_extra build_x86 with_static_mkl with_dynamic_crt with_opencl use_vs2019, 分支为release/v2.10

  1. 一开始执行编译命令时, 长时间等待后提示clone failed, 在删除third-party文件夹后, 通过clone国内仓库,成功将所有third-party资源载入
  2. 再次执行编译命令, 大规模提示找不到dirent.h c3131c397f2435a408094045cd69deb 3.将https://github.com/tronkko/dirent/tree/master/include的dirent.h放到PaddleLite/lite/utils中后,找不到dirent.h问题消失,但是大规模出现"找不到cl2.hpp" f077b605458a28724ccf1056061501b

ZhuGeRoastedFish avatar Nov 22 '21 10:11 ZhuGeRoastedFish

@xingjing1

ZhuGeRoastedFish avatar Nov 22 '21 10:11 ZhuGeRoastedFish

你们少提交了dirent库

dragonwarrior95 avatar Mar 18 '22 07:03 dragonwarrior95

Dear, 百度 我也遇到类似问题,请问预计什么会解决,谢谢!

WYH150123 avatar May 08 '22 16:05 WYH150123

@dragonwarrior95 @ZhuGeRoastedFish

Hi, I have compiled successfully with VS2015 https://github.com/PaddlePaddle/Paddle-Lite/issues/9293. Thank you for your recording!! It's very helpful!!

DrRyanHuang avatar Jul 28 '22 01:07 DrRyanHuang

MD 的静态库真的很需要,现在是 MT 的,集成很多第三方库时候非常麻烦

endink avatar May 06 '23 14:05 endink