Kevin:>

Results 4 comments of Kevin:>

编译命令为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](https://user-images.githubusercontent.com/77224640/142842442-69698374-e5d0-44e9-adb5-c61c8e5dcad0.jpg) 3.将https://github.com/tronkko/dirent/tree/master/include的dirent.h放到PaddleLite/lite/utils中后,找不到dirent.h问题消失,但是大规模出现"找不到cl2.hpp" ![f077b605458a28724ccf1056061501b](https://user-images.githubusercontent.com/77224640/142842895-ef3e4b3c-5c31-41c3-9ceb-4105163c386c.jpg)

> 您好,可以在k40帮忙看一下这几个log吗? 需要使用带log的库,编译的时候加上 --with_log=ON ![image](https://user-images.githubusercontent.com/89541335/175875413-fb8907b9-561a-4b8f-b4f3-da8cdfe467fb.png) 您好! 我看了一下,可以顺利推理的设备log如下: 2022-03-14 11:21:57.635 21118-21194/com.example.paddlelitetest I/Paddle-Lite: [I 3/14 11:21:57.635 ...-Lite/Paddle-Lite/lite/api/paddle_api.cc:50 IsOpenCLBackendValid] need to check fp16 valid:0 2022-03-14 11:21:57.724 21118-21194/com.example.paddlelitetest I/Paddle-Lite: [I 3/14 11:21:57.724 ...-Lite/Paddle-Lite/lite/api/paddle_api.cc:57 IsOpenCLBackendValid]...

python3.8以下才可以通过pip install直接安装paddlelite,3.8及以上需要自己编译paddlelite_opt 参考https://paddle-lite.readthedocs.io/zh/latest/user_guides/model_optimize_tool.html