Paddle-Inference-Demo icon indicating copy to clipboard operation
Paddle-Inference-Demo copied to clipboard

fix cpp xpu compile

Open cmcamdy opened this issue 7 months ago • 1 comments

描述

  1. 在Develop分支下的XPU编译中,会出现zlib找不到的问题
  • 相关ISSUE:https://github.com/PaddlePaddle/Paddle/issues/66180
  • 解决方法参考:https://stackoverflow.com/questions/22337896/how-to-fix-undefined-references-to-inflate-deflate-functions
  1. 在官方的XPU镜像中是不存在CUDA驱动的,因此需要删除project中project(cpp_inference_demo CXX C CUDA)中的CUDA,才能使得run.sh可以正确运行

cmcamdy avatar Jul 23 '24 04:07 cmcamdy