Paddle Win10 + VS2017 + ppocr error: 0xc000007b exit with -1073741701

nzk0hqpo  于 2022-11-13  发布在  其他
关注(0)|答案(2)|浏览(197)

bug描述 Describe the Bug

Win10 + VS2017 + ppocr error: 0xc000007b exit with -1073741701
按官方的cpp_infer进行编译链接,一切正常,运行时报错:0xc000007b 应用程序无法以启动,同时,在console窗口输出-1073741701

原因:最新的 | 预测库(2.3.2版本) | cpu_avx_mkl | paddle_inference.zip | MSVC 2017 | 与vs2017 运行库不兼容。
版本信息如下,
cpu_avx_mkl paddle_inference.zip
GIT COMMIT ID: 4596b9a
WITH_MKL: ON
WITH_MKLDNN: ON
WITH_GPU: OFF
WITH_ROCM: OFF
WITH_ASCEND_CL: OFF
WITH_ASCEND_CXX11: OFF
WITH_IPU: OFF
CXX compiler version: 19.16.27045.0

我换成以前的版本时,问题消失:
GIT COMMIT ID: b031c38
WITH_MKL: ON
WITH_MKLDNN: ON
WITH_GPU: OFF
WITH_ROCM: OFF
CXX compiler version: 19.16.27045.0

不清楚paddle官方对哪些库进行了修改,还是添加了哪些依赖库但却没有在inference中提供。

当我使用vs2019时,两个库都能正常编译链接并成功运行。

其他补充信息 Additional Supplementary Information

No response

jk9hmnmh

jk9hmnmh1#

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看 官网API文档常见问题历史IssueAI社区 来寻求解答。祝您生活愉快~

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 APIFAQGithub Issue and AI community to get the answer.Have a nice day!

e5nszbig

e5nszbig2#

Hi,你好,试下将paddle_inference下的dll和lib拷贝到exe同级目录下运行,再测试, 包含如下目录的文件

paddle_inference_c/third_party/install/paddle2onnx/lib/
paddle_inference_c/third_party/install/onnxruntime/lib/
paddle_inference_c/third_party/install/mklml/lib/
paddle_inference_c/third_party/install/mklml/lib
paddle_inference_c/third_party/install/mkldnn/lib
paddle_inference_c/paddle/lib/

相关问题