Ubuntu 13.04 install problem

asked 2013-06-20 15:56:49 -0600

I am currently attempting to install opencv on my linux box, and I have followed the instructions on the site (http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html) , making sure I have all the necessary libraries and such installed. I get to the point where I am trying to compile, and it gets about 13% done before throwing an error:

/home/jim/opencv/modules/highgui/src/grfmt_tiff.cpp: In member function ‘bool cv::TiffEncoder::writeLibTiff(const cv::Mat&, const std::vector<int>&)’: /home/jim/opencv/modules/highgui/src/grfmt_tiff.cpp:481:26: error: ‘PREDICTOR_HORIZONTAL’ was not declared in this scope make[2]: * [modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_tiff.cpp.o] Error 1 make[1]: [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: ** [all] Error 2

I am just trying to see if anyone has encountered this before, and perhaps found a solution. I will working on this for some time, trying to get this straightened out. Thanks in advance.

edit retag flag offensive close merge delete

Comments

Blind guess. Is your build configuration done WITH_TIFF=ON and Is your path to tiff correct in the cache file? The best way to look at problems like this is to check the CMakeCache.txt and CMakeLists.txt. Use CMAKE GUI and try to set all the options you need and try reconfiguring. Maybe the paths to packages like TIFF are not found on your system. There might dependency issue as well in which case you might not have all packages installed which are prerequisites to OpenCV. You can try installing following this instruction set. Lemme know if it works.

Regards,

Prasanna S

Prasanna gravatar imagePrasanna ( 2013-06-20 23:41:18 -0600 )edit