[ 20%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o cd /home/fritsche/dev/csurvey/external/opencv/build/modules/highgui && /usr/bin/g++ -Dopencv_highgui_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_JPEG -DHAVE_PNG -DHAVE_TIFF -DHAVE_JASPER -DHIGHGUI_EXPORTS -DCVAPI_EXPORTS -Wall -pthread -march=i686 -ffunction-sections -O3 -DNDEBUG -fomit-frame-pointer -ffast-math -msse -msse2 -msse3 -mfpmath=387 -DNDEBUG -fPIC -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/include/eigen2 -I/home/fritsche/dev/csurvey/external/opencv/. -I/home/fritsche/dev/csurvey/external/opencv/build -I/home/fritsche/dev/csurvey/external/opencv/include -I/home/fritsche/dev/csurvey/external/opencv/include/opencv -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/include -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/../core/include -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/../imgproc/include -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/src -I/home/fritsche/dev/csurvey/external/opencv/build/modules/highgui -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/test -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/../ts/include -I/home/fritsche/dev/csurvey/external/opencv/modules/highgui/../highgui/include -D PYTHON_USE_NUMPY=1 -include /home/fritsche/dev/csurvey/external/opencv/build/modules/highgui/precomp.hpp -Winvalid-pch -o CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o -c /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg.cpp In file included from /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg.cpp:45:0: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::reopen()’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:440:5: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1090) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:440:52: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1090) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::open(const char*)’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:475:15: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1090) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:475:63: warning: ‘int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1090) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:492:13: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvCapture_FFMPEG::grabFrame()’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:582:54: error: ‘avcodec_decode_video’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘const char* icvFFMPEGErrStr(int)’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:828:10: error: ‘AVERROR_NUMEXPECTED’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:832:10: error: ‘AVERROR_NOFMT’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:834:10: error: ‘AVERROR_IO’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:836:10: error: ‘AVERROR_NOMEM’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘AVStream* icv_add_video_stream_FFMPEG(AVFormatContext*, CodecID, int, int, int, double, int)’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:921:70: error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope In file included from /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg.cpp:45:0: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1018:22: error: ‘PKT_FLAG_KEY’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1038:30: error: ‘PKT_FLAG_KEY’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘void CvVideoWriter_FFMPEG::close()’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1203:3: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1203:20: warning: ‘int url_fclose(AVIOContext*)’ is deprecated (declared at /usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)’: /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1240:41: error: ‘guess_format’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1263:31: error: ‘av_alloc_format_context’ was not declared in this scope /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1306:9: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1407) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1306:35: warning: ‘int av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1407) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1310:5: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1532) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1310:35: warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1532) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1374:13: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1374:52: warning: ‘int url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at /usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1380:5: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1465) [-Wdeprecated-declarations] /home/fritsche/dev/csurvey/external/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:1380:25: warning: ‘int av_write_header(AVFormatContext*)’ is deprecated (declared at /usr/include/libavformat/avformat.h:1465) [-Wdeprecated-declarations] make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.o] Fehler 1 make[2]: Leaving directory `/home/fritsche/dev/csurvey/external/opencv/build' make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Fehler 2 make[1]: Leaving directory `/home/fritsche/dev/csurvey/external/opencv/build' make: *** [all] Fehler 2