opencv error: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'

ubuntu16.04,在make opencv3.4.0 的时候,出现以下错误

opencv error: undefined reference to `TIFFReadDirectory@LIBTIFF_4.0'_第1张图片

解决方法:

参考:https://blog.csdn.net/wangchuansnnu/article/details/44241199

 在 cmake 时,添加

cmake -D BUILD_TIFF=ON

最后,重新make

sudo make
sudo make install

 

你可能感兴趣的:(opencv,ubuntu,opencv)