Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compiling errors (3.0.0-alpha / Master Head) on Linux

I tried to compile opencv from sources:

1) first from the HEAD of master branch on github and then

2) from the zip file

In both cases I got the same error message:

Building CXX object modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o In file included from /home/ilya/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp:65:0, from /home/ilya/opencv/modules/videoio/src/cap_ffmpeg.cpp:45: /home/ilya/opencv/modules/videoio/src/ffmpeg_codecs.hpp:98:7: error: ‘CODEC_ID_H264’ was not declared in this scope { CODEC_ID_H264, MKTAG('H', '2', '6', '4') },

I'm running Debian Testing distro, amd64 architecture.

Any idea what's wrong?