Ask Your Question
0

OpenCV3.0 install on Ubuntu 14.04

asked 2015-05-09 00:07:13 -0600

abhiguru gravatar image

I get the following when I do a Cmake http://pastebin.com/QTP9qqC1

It is missing
1) sys/videoio.h - For the life of me I can't seem to find this file.

2) ffmpeg/avformat.h - It is present at /home/ubuntu/ffmpeg_build/include/libavformat/avformat.h but for some reason OpenCV wont look there.

a) Should I update the CMakeLists.txt of OpenCV to include the ffmpeg build path ? Worried it will messup my openCV install as it already detects ffmpeg and forcing a build path include might cause that to break.

b) please suggest the right way to do it.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-05-09 06:21:01 -0600

To solve your problems, start by installing possible dependencies of OpenCV. This can be done by the following command:

sudo apt-get install libtbb-dev libeigen2-dev libqt4-dev libqt4-opengl-dev libopencv-dev build-essential checkinstall cmake pkg-config yasm libtiff4-dev libjpeg-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev

When doing so, I have been successfully compuling 3.0 for the last year now.

edit flag offensive delete link more

Comments

OpenCV3.0 builds okay it is just that I get those missing files in the CMake list even after installing the packages above.

abhiguru gravatar imageabhiguru ( 2015-05-17 04:20:00 -0600 )edit

it does't help me with missing sys/videoio.h
trying to install opencv 2.4.13 on Ubuntu 15.04

fedor gravatar imagefedor ( 2016-08-04 04:21:35 -0600 )edit

it does't help me with missing sys/videoio.h

trying to install opencv 2.4.13 on Ubuntu 15.04

fedor gravatar imagefedor ( 2016-08-04 04:21:49 -0600 )edit

Please reopen a new issue with your complete CMAKE config output and build process. No reason in hijacking over 1 year old topics...

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-04 04:59:59 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-05-09 00:06:28 -0600

Seen: 1,732 times

Last updated: May 09 '15