Problems installing OpenCV in LinuxMint

asked 2014-11-04 00:29:25 -0600

siva82kb gravatar image

updated 2014-11-04 04:55:19 -0600

I am trying to install OpenCV in my Linx Mint 17 machine. I followed the instruction given here. I had some problems in the middle with x246 and ffmpeg, which I resolved by following instructions here.

When I ran the following command, I had a problem with ippicv.

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..

Then I downloaded the ippicv_linux_20140513.tgz from SourceForge and copied it into the appropriate folder, and then was able tom execute the previous command.

Following this, when I ran make, I received the following error. enter image description here

What is causing this problem? How can I fix this and get OpenCV installed and running on my Linux mint machine.

== EDIT ==

Here are the outputs from cmake and the make commands.

$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
-- Detected version of GNU GCC: 48 (408)
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found OpenEXR: /usr/lib/x86_64-linux-gnu/libIlmImf.so
-- checking for module 'gtk+-3.0'
--   package 'gtk+-3.0' not found
-- checking for module 'gstreamer-base-1.0'
--   package 'gstreamer-base-1.0' not found
-- checking for module 'gstreamer-video-1.0'
--   package 'gstreamer-video-1.0' not found
-- checking for module 'gstreamer-app-1.0'
--   package 'gstreamer-app-1.0' not found
-- checking for module 'gstreamer-riff-1.0'
--   package 'gstreamer-riff-1.0' not found
-- checking for module 'gstreamer-pbutils-1.0'
--   package 'gstreamer-pbutils-1.0' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- found IPP (ICV version): 8.1.1 [8.1.1]
-- at: /home/siva82kb/Downloads/opencv/opencv-master/3rdparty/ippicv/unpack/ippicv_lnx
-- Found PythonInterp: /home/siva82kb/anaconda/bin/python2.7 (found suitable version "2.7.7", minimum required is "2.7") 
-- Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required is exact version "2.7.7" (found /usr/lib/x86_64-linux-gnu/libpython2.7.so)
-- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4", minimum required is "3.4") 
-- Could NOT find PythonLibs: Found unsuitable version "2.7.6", but required is exact version "3.4.0" (found /usr/lib/x86_64-linux-gnu/libpython2.7.so)
-- Found Sphinx 1.2.2: /home/siva82kb/anaconda/bin/sphinx-build
-- Found apache ant 1.9.3: /usr/bin/ant
-- Could NOT find Matlab (missing:  MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) 
-- The imported target "vtkWrapTcl" references the file
   "/usr/bin/vtkWrapTcl"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtkWrapTclInit" references the file
   "/usr/bin ...
(more)
edit retag flag offensive close merge delete

Comments

2

Could you post the compile messages as text instead of an image?

FooBar gravatar imageFooBar ( 2014-11-04 00:55:41 -0600 )edit
1

@FooBar I have added the text output from the cmake and make commands.

siva82kb gravatar imagesiva82kb ( 2014-11-04 04:41:56 -0600 )edit