【编译错误】ubuntu16.04 编译paddleDetection的C++预测库报错
收藏
0
收藏
全部评论(3)
请登录后评论
版本、环境信息:
1)PaddlePaddle版本:1.6.3.post97
2)CPU:
3)GPU:K80、CUDA9.0、CUDNN7.1.4
4)系统环境:ubuntu16.04,python3.7和python2.7,gcc4.8.5,cmake 3.5.1
安装方式信息:
1)pip安装:python3 -m pip install paddlepaddle-gpu==1.6.3.post97 -i https://mirror.baidu.com/pypi/simple
复现信息:如为报错,请给出复现环境、复现步骤
根据 https://github.com/PaddlePaddle/PaddleDetection/blob/release/0.1/inference/docs/linux_build.md 教程里面的方法,编译安装完opencv后,编译paddleDetection的C++预测库报错。
opencv的cmake命令如下:

预测库的cmake命令如下:

在C++预测库cmake成功完成后,使用make命令报错如下,显示安装的opencv中少个文件:
opencv之前已经成功安装在/home/wushengjian/release-p-test/opencv如下:

另外在make预测库的时候,还会出现很多warning如下:

Thank you for contributing to PaddlePaddle.
Before submitting the issue, you could search issue in Github in case that there was a similar issue submitted or resolved before.
If there is no solution,please make sure that this is an installation issue including the following details:
System information
-PaddlePaddle version (eg.1.1)or CommitID
-CPU: including CPUMKL/OpenBlas/MKLDNN version
-GPU: including CUDA/CUDNN version
-OS Platform (eg. Mac OS 10.14)
-Python version
To Reproduce
Steps to reproduce the behavior
Describe your current behavior
Code to reproduce the issue
Other info / logs