Ask Your Question

Apollo Juice's profile - activity

2014-12-05 04:03:55 -0600 received badge  Student (source)
2014-10-20 15:09:37 -0600 commented question OpenCV 2.4.4 build always fails at ffmpeg portion

Have you solved this? I'm having the same issue.

2014-10-16 12:45:36 -0600 commented question OpenCV 2.4.10 fails to build on Debian Jessie

Pulled new changes, switched to 2.4. Get the same error, but a lot earlier in the build process. cmake.log, make1.log.

2014-10-15 22:32:43 -0600 received badge  Editor (source)
2014-10-15 21:11:00 -0600 asked a question OpenCV 2.4.10 fails to build on Debian Jessie

Here is what I do:

$ git clone https://github.com/Itseez/opencv
$ cd opencv
$ git checkout 2.4.10
$ mkdir build && cd build
$ cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. > cmake.log 2>&1
$ make -j9 > make1.log 2>&1                                                                                                                                                                                                                    
$ make > make2.log 2>&1
$ grep CODEC_ID_H264 -r -s /usr/include/
/usr/include/libavcodec/avcodec.h:    AV_CODEC_ID_H264,
/usr/include/libavcodec/avcodec.h: * codec = avcodec_find_decoder(AV_CODEC_ID_H264);
$ pkg-config --modversion libavcodec
56.1.0

Here is what I get:

What do I do to make OpenCV build?