我尝试按照本教程安装openCV 3.1.0 http://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html#gsc.tab=0
我用这个命令编写它:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/path/to/install /home/path/to/source
哪个可行。然后我就会出现以下错误:
Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o
opencv/modules/imgcodecs/src/grfmt_tiff.cpp:61:18: error: tiff.h: No such file or directory
opencv/modules/imgcodecs/src/grfmt_tiff.cpp:62:20: error: tiffio.h: No such file or directory
opencv/modules/imgcodecs/src/grfmt_tiff.cpp: In constructor ‘cv::TiffDecoder::TiffDecoder()’:
发现许多类似错误后,有人有任何建议吗?