janLo / hdr-script-container

Docker container containing http://linuxdarkroom.tassy.net/hdr-creation-script/installation-on-ubuntu/
3 stars 2 forks source link

E: Unable to locate package libjasper-dev #1

Closed sirber closed 7 years ago

sirber commented 7 years ago

[root@mendelssohn hdr-script-container]# docker build -t hdr . Sending build context to Docker daemon 92.34 MB Step 1 : FROM debian:stretch stretch: Pulling from library/debian ca67a6a92c6d: Pull complete Digest: sha256:ea81ea581e6612900344642f7204461e246ce701f8076e8c302e0d2559a2fe4e Status: Downloaded newer image for debian:stretch ---> 82c31cc9b949 Step 2 : MAINTAINER Jan Losinski losinski@wh2.tu-dresden.de ---> Running in a14fcdb95a4e ---> 2ab6d578fae5 Removing intermediate container a14fcdb95a4e Step 3 : ADD sources.list /etc/apt/sources.list ---> af0a13c4a088 Removing intermediate container 28b251f0a77e Step 4 : RUN apt-get update && apt-get -y install --no-install-recommends ufraw enfuse jhead gimp build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev unzip && apt-get -y build-dep libcv2.4 && apt-get -y build-dep pfstools && apt-get -y install libgsl0-dev && apt-get -y remove liboctave-dev && apt-get clean ---> Running in 647c41e93d96 Get:1 http://ftp.de.debian.org/debian stretch InRelease [175 kB] Get:2 http://ftp.de.debian.org/debian stretch/main Sources [8747 kB] Get:3 http://ftp.de.debian.org/debian stretch/non-free Sources [95.6 kB] Get:4 http://ftp.de.debian.org/debian stretch/contrib Sources [52.6 kB] Get:5 http://ftp.de.debian.org/debian stretch/contrib amd64 Packages [62.7 kB] Get:6 http://ftp.de.debian.org/debian stretch/non-free amd64 Packages [88.9 kB] Get:7 http://ftp.de.debian.org/debian stretch/main amd64 Packages [9367 kB] Fetched 18.6 MB in 3s (6132 kB/s) Reading package lists... Reading package lists... Building dependency tree... E: Unable to locate package libjasper-dev The command '/bin/sh -c apt-get update && apt-get -y install --no-install-recommends ufraw enfuse jhead gimp build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev unzip && apt-get -y build-dep libcv2.4 && apt-get -y build-dep pfstools && apt-get -y install libgsl0-dev && apt-get -y remove liboctave-dev && apt-get clean' returned a non-zero code: 100

sirber commented 7 years ago

fixes: Dockerfile: use jessie source.list: use jessie

janLo commented 7 years ago

As I needed newer versions from some component (don't remember what) this is not an option for me. The Problem is, that libjasper was removed from testing and I don't know if it will come back. The reason is described in this bug. There is a new version in sid but I don't know if it will land in the next stable.

sirber commented 7 years ago

"jessie" goes a while further, but: Picking 'opencv' as source package instead of 'libcv2.4' The following packages have unmet dependencies: default-jdk : Depends: default-jre (= 2:1.7-52) but it is not going to be installed Depends: openjdk-7-jdk (>= 7~u3-2.1.1) but it is not going to be installed E: Build-dependencies for libcv2.4 could not be satisfied.

sirber commented 7 years ago

I'll get back to you when I get it working...

janLo commented 7 years ago

You can try it without this dependency.

sirber commented 7 years ago

I'll try whitout build-dep for the two sources packages. Java doesn't want to install, goes back to "tzdata" which doesn't have the right version.

sirber commented 7 years ago

this thing doesn't want to work haha..

[ 40%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o In file included from /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp:60:0, from /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg.cpp:45: /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:104:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('H', '2', '6', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:105:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('h', '2', '6', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:106:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('X', '2', '6', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:107:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('x', '2', '6', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:108:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:109:7: error: 'CODEC_ID_H264' was not declared in this scope { CODEC_ID_H264, MKTAG('V', 'S', 'S', 'H') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:111:7: error: 'CODEC_ID_H263' was not declared in this scope { CODEC_ID_H263, MKTAG('H', '2', '6', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:112:7: error: 'CODEC_ID_H263P' was not declared in this scope { CODEC_ID_H263P, MKTAG('H', '2', '6', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:113:7: error: 'CODEC_ID_H263I' was not declared in this scope { CODEC_ID_H263I, MKTAG('I', '2', '6', '3') }, / intel h263 / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:114:7: error: 'CODEC_ID_H261' was not declared in this scope { CODEC_ID_H261, MKTAG('H', '2', '6', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:117:7: error: 'CODEC_ID_H263P' was not declared in this scope { CODEC_ID_H263P, MKTAG('U', '2', '6', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:118:7: error: 'CODEC_ID_H263P' was not declared in this scope { CODEC_ID_H263P, MKTAG('v', 'i', 'v', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:120:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('F', 'M', 'P', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:121:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:122:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('D', 'X', '5', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:123:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:124:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:125:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:126:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG(0x04, 0, 0, 0) }, / some broken avi use this / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:129:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:130:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('B', 'L', 'Z', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:131:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:132:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('U', 'M', 'P', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:133:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('W', 'V', '1', 'F') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:134:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('S', 'E', 'D', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:136:7: error: 'CODEC_ID_MPEG4' was not declared in this scope { CODEC_ID_MPEG4, MKTAG('R', 'M', 'P', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:138:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('D', 'I', 'V', '3') }, / default signature when using MSMPEG4 / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:139:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('M', 'P', '4', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:142:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('M', 'P', 'G', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:143:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('D', 'I', 'V', '5') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:144:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('D', 'I', 'V', '6') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:145:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('D', 'I', 'V', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:146:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('A', 'P', '4', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:147:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('C', 'O', 'L', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:148:7: error: 'CODEC_ID_MSMPEG4V3' was not declared in this scope { CODEC_ID_MSMPEG4V3, MKTAG('C', 'O', 'L', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:150:7: error: 'CODEC_ID_MSMPEG4V2' was not declared in this scope { CODEC_ID_MSMPEG4V2, MKTAG('M', 'P', '4', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:153:7: error: 'CODEC_ID_MSMPEG4V2' was not declared in this scope { CODEC_ID_MSMPEG4V2, MKTAG('D', 'I', 'V', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:155:7: error: 'CODEC_ID_MSMPEG4V1' was not declared in this scope { CODEC_ID_MSMPEG4V1, MKTAG('M', 'P', 'G', '4') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:157:7: error: 'CODEC_ID_WMV1' was not declared in this scope { CODEC_ID_WMV1, MKTAG('W', 'M', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:160:7: error: 'CODEC_ID_WMV2' was not declared in this scope { CODEC_ID_WMV2, MKTAG('W', 'M', 'V', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:161:7: error: 'CODEC_ID_DVVIDEO' was not declared in this scope { CODEC_ID_DVVIDEO, MKTAG('d', 'v', 's', 'd') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:162:7: error: 'CODEC_ID_DVVIDEO' was not declared in this scope { CODEC_ID_DVVIDEO, MKTAG('d', 'v', 'h', 'd') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:163:7: error: 'CODEC_ID_DVVIDEO' was not declared in this scope { CODEC_ID_DVVIDEO, MKTAG('d', 'v', 's', 'l') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:164:7: error: 'CODEC_ID_DVVIDEO' was not declared in this scope { CODEC_ID_DVVIDEO, MKTAG('d', 'v', '2', '5') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:165:7: error: 'CODEC_ID_MPEG1VIDEO' was not declared in this scope { CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'g', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:166:7: error: 'CODEC_ID_MPEG1VIDEO' was not declared in this scope { CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'g', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:167:7: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope { CODEC_ID_MPEG2VIDEO, MKTAG('m', 'p', 'g', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:168:7: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope { CODEC_ID_MPEG2VIDEO, MKTAG('M', 'P', 'E', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:169:7: error: 'CODEC_ID_MPEG1VIDEO' was not declared in this scope { CODEC_ID_MPEG1VIDEO, MKTAG('P', 'I', 'M', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:170:7: error: 'CODEC_ID_MPEG1VIDEO' was not declared in this scope { CODEC_ID_MPEG1VIDEO, MKTAG('V', 'C', 'R', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:171:7: error: 'CODEC_ID_MPEG1VIDEO' was not declared in this scope { CODEC_ID_MPEG1VIDEO, 0x10000001 }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:172:7: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope { CODEC_ID_MPEG2VIDEO, 0x10000002 }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:173:7: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope { CODEC_ID_MPEG2VIDEO, MKTAG('D', 'V', 'R', ' ') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:174:7: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope { CODEC_ID_MPEG2VIDEO, MKTAG('M', 'M', 'E', 'S') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:175:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('M', 'J', 'P', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:176:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('L', 'J', 'P', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:177:7: error: 'CODEC_ID_LJPEG' was not declared in this scope { CODEC_ID_LJPEG, MKTAG('L', 'J', 'P', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:178:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('J', 'P', 'G', 'L') }, / Pegasus lossless JPEG / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:179:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('M', 'J', 'L', 'S') }, / JPEG-LS custom FOURCC for avi - decoder / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:180:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('j', 'p', 'e', 'g') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:181:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('I', 'J', 'P', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:182:7: error: 'CODEC_ID_MJPEG' was not declared in this scope { CODEC_ID_MJPEG, MKTAG('A', 'V', 'R', 'n') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:183:7: error: 'CODEC_ID_HUFFYUV' was not declared in this scope { CODEC_ID_HUFFYUV, MKTAG('H', 'F', 'Y', 'U') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:184:7: error: 'CODEC_ID_FFVHUFF' was not declared in this scope { CODEC_ID_FFVHUFF, MKTAG('F', 'F', 'V', 'H') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:185:7: error: 'CODEC_ID_CYUV' was not declared in this scope { CODEC_ID_CYUV, MKTAG('C', 'Y', 'U', 'V') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:186:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, 0 }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:187:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('I', '4', '2', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:188:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('Y', 'U', 'Y', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:189:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('Y', '4', '2', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:190:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('Y', 'V', '1', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:191:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('U', 'Y', 'V', 'Y') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:192:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('I', 'Y', 'U', 'V') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:193:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('Y', '8', '0', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:194:7: error: 'CODEC_ID_RAWVIDEO' was not declared in this scope { CODEC_ID_RAWVIDEO, MKTAG('H', 'D', 'Y', 'C') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:195:7: error: 'CODEC_ID_INDEO3' was not declared in this scope { CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:196:7: error: 'CODEC_ID_INDEO3' was not declared in this scope { CODEC_ID_INDEO3, MKTAG('I', 'V', '3', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:197:7: error: 'CODEC_ID_VP3' was not declared in this scope { CODEC_ID_VP3, MKTAG('V', 'P', '3', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:198:7: error: 'CODEC_ID_VP3' was not declared in this scope { CODEC_ID_VP3, MKTAG('V', 'P', '3', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:199:7: error: 'CODEC_ID_ASV1' was not declared in this scope { CODEC_ID_ASV1, MKTAG('A', 'S', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:200:7: error: 'CODEC_ID_ASV2' was not declared in this scope { CODEC_ID_ASV2, MKTAG('A', 'S', 'V', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:201:7: error: 'CODEC_ID_VCR1' was not declared in this scope { CODEC_ID_VCR1, MKTAG('V', 'C', 'R', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:202:7: error: 'CODEC_ID_FFV1' was not declared in this scope { CODEC_ID_FFV1, MKTAG('F', 'F', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:203:7: error: 'CODEC_ID_XAN_WC4' was not declared in this scope { CODEC_ID_XAN_WC4, MKTAG('X', 'x', 'a', 'n') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:204:7: error: 'CODEC_ID_MSRLE' was not declared in this scope { CODEC_ID_MSRLE, MKTAG('m', 'r', 'l', 'e') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:205:7: error: 'CODEC_ID_MSRLE' was not declared in this scope { CODEC_ID_MSRLE, MKTAG(0x1, 0x0, 0x0, 0x0) }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:206:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('M', 'S', 'V', 'C') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:207:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('m', 's', 'v', 'c') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:208:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('C', 'R', 'A', 'M') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:209:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('c', 'r', 'a', 'm') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:210:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('W', 'H', 'A', 'M') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:211:7: error: 'CODEC_ID_MSVIDEO1' was not declared in this scope { CODEC_ID_MSVIDEO1, MKTAG('w', 'h', 'a', 'm') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:212:7: error: 'CODEC_ID_CINEPAK' was not declared in this scope { CODEC_ID_CINEPAK, MKTAG('c', 'v', 'i', 'd') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:213:7: error: 'CODEC_ID_TRUEMOTION1' was not declared in this scope { CODEC_ID_TRUEMOTION1, MKTAG('D', 'U', 'C', 'K') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:214:7: error: 'CODEC_ID_MSZH' was not declared in this scope { CODEC_ID_MSZH, MKTAG('M', 'S', 'Z', 'H') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:215:7: error: 'CODEC_ID_ZLIB' was not declared in this scope { CODEC_ID_ZLIB, MKTAG('Z', 'L', 'I', 'B') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:216:7: error: 'CODEC_ID_SNOW' was not declared in this scope { CODEC_ID_SNOW, MKTAG('S', 'N', 'O', 'W') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:217:7: error: 'CODEC_ID_4XM' was not declared in this scope { CODEC_ID_4XM, MKTAG('4', 'X', 'M', 'V') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:218:7: error: 'CODEC_ID_FLV1' was not declared in this scope { CODEC_ID_FLV1, MKTAG('F', 'L', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:219:7: error: 'CODEC_ID_SVQ1' was not declared in this scope { CODEC_ID_SVQ1, MKTAG('s', 'v', 'q', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:220:7: error: 'CODEC_ID_TSCC' was not declared in this scope { CODEC_ID_TSCC, MKTAG('t', 's', 'c', 'c') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:221:7: error: 'CODEC_ID_ULTI' was not declared in this scope { CODEC_ID_ULTI, MKTAG('U', 'L', 'T', 'I') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:222:7: error: 'CODEC_ID_VIXL' was not declared in this scope { CODEC_ID_VIXL, MKTAG('V', 'I', 'X', 'L') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:223:7: error: 'CODEC_ID_QPEG' was not declared in this scope { CODEC_ID_QPEG, MKTAG('Q', 'P', 'E', 'G') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:224:7: error: 'CODEC_ID_QPEG' was not declared in this scope { CODEC_ID_QPEG, MKTAG('Q', '1', '.', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:225:7: error: 'CODEC_ID_QPEG' was not declared in this scope { CODEC_ID_QPEG, MKTAG('Q', '1', '.', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:226:7: error: 'CODEC_ID_WMV3' was not declared in this scope { CODEC_ID_WMV3, MKTAG('W', 'M', 'V', '3') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:227:7: error: 'CODEC_ID_LOCO' was not declared in this scope { CODEC_ID_LOCO, MKTAG('L', 'O', 'C', 'O') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:228:7: error: 'CODEC_ID_THEORA' was not declared in this scope { CODEC_ID_THEORA, MKTAG('t', 'h', 'e', 'o') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:230:7: error: 'CODEC_ID_WNV1' was not declared in this scope { CODEC_ID_WNV1, MKTAG('W', 'N', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:231:7: error: 'CODEC_ID_AASC' was not declared in this scope { CODEC_ID_AASC, MKTAG('A', 'A', 'S', 'C') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:232:7: error: 'CODEC_ID_INDEO2' was not declared in this scope { CODEC_ID_INDEO2, MKTAG('R', 'T', '2', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:233:7: error: 'CODEC_ID_FRAPS' was not declared in this scope { CODEC_ID_FRAPS, MKTAG('F', 'P', 'S', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:234:7: error: 'CODEC_ID_TRUEMOTION2' was not declared in this scope { CODEC_ID_TRUEMOTION2, MKTAG('T', 'M', '2', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:237:7: error: 'CODEC_ID_FLASHSV' was not declared in this scope { CODEC_ID_FLASHSV, MKTAG('F', 'S', 'V', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:238:7: error: 'CODEC_ID_JPEGLS' was not declared in this scope { CODEC_ID_JPEGLS,MKTAG('M', 'J', 'L', 'S') }, / JPEG-LS custom FOURCC for avi - encoder / ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:239:7: error: 'CODEC_ID_VC1' was not declared in this scope { CODEC_ID_VC1, MKTAG('W', 'V', 'C', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:240:7: error: 'CODEC_ID_VC1' was not declared in this scope { CODEC_ID_VC1, MKTAG('W', 'M', 'V', 'A') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:241:7: error: 'CODEC_ID_CSCD' was not declared in this scope { CODEC_ID_CSCD, MKTAG('C', 'S', 'C', 'D') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:242:7: error: 'CODEC_ID_ZMBV' was not declared in this scope { CODEC_ID_ZMBV, MKTAG('Z', 'M', 'B', 'V') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:243:7: error: 'CODEC_ID_KMVC' was not declared in this scope { CODEC_ID_KMVC, MKTAG('K', 'M', 'V', 'C') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:246:7: error: 'CODEC_ID_VP5' was not declared in this scope { CODEC_ID_VP5, MKTAG('V', 'P', '5', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:247:7: error: 'CODEC_ID_VP6' was not declared in this scope { CODEC_ID_VP6, MKTAG('V', 'P', '6', '0') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:248:7: error: 'CODEC_ID_VP6' was not declared in this scope { CODEC_ID_VP6, MKTAG('V', 'P', '6', '1') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:249:7: error: 'CODEC_ID_VP6' was not declared in this scope { CODEC_ID_VP6, MKTAG('V', 'P', '6', '2') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:250:7: error: 'CODEC_ID_VP6F' was not declared in this scope { CODEC_ID_VP6F, MKTAG('V', 'P', '6', 'F') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:251:7: error: 'CODEC_ID_JPEG2000' was not declared in this scope { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:252:7: error: 'CODEC_ID_VMNC' was not declared in this scope { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:256:7: error: 'CODEC_ID_TARGA' was not declared in this scope { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') }, ^ /tmp/opencv-2.4.11/modules/highgui/src/ffmpeg_codecs.hpp:258:7: error: 'CODEC_ID_NONE' was not declared in this scope { CODEC_ID_NONE, 0 }, ^ In file included from /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg.cpp:45:0: /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::getProperty(int)': /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp:796:33: error: 'AVStream' has no member named 'r_frame_rate' return av_q2d(video_st->r_frame_rate); ^ /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::get_fps()': /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp:843:49: error: 'AVStream' has no member named 'r_frame_rate' double fps = r2d(ic->streams[video_stream]->r_frame_rate); ^ In file included from /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg.cpp:45:0: /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'int icv_av_write_frame_FFMPEG(AVFormatContext, AVStream, uint8_t, uint32_t, AVFrame)': /tmp/opencv-2.4.11/modules/highgui/src/cap_ffmpeg_impl.hpp:1259:72: error: 'avcodec_encode_video' was not declared in this scope out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture); ^ make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1

sirber commented 7 years ago

well, I'm giving up.

sirber commented 7 years ago

well, I built opencv whitout ffmpeg, cuda and opencl. Seems to work.

sirber commented 7 years ago

this issue would be fixed with the pull request https://github.com/janLo/hdr-script-container/pull/2