Installazione Digikam su current

Se avete problemi con l'installazione e la configurazione di Slackware64 postate qui. Non usate questo forum per argomenti che trattano la Slackware32 o generali... per quelli usate rispettivamente il forum Slackware e Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware64 usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware64, se l'argomento è Slackware32 o generale usate rispettivamente il forum Slackware o Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Installazione Digikam su current

Messaggioda dafrasaga » gio set 05, 2019 22:35

Ciao a tutti,
ho una current sulla quale vorrei reinstallare Digikam (tanti aggiornamenti fa lo avevo installato con un pò di problemi ma adesso non vado avanti) per la gestione delle fotografie ma ho dei problemi ad installare per adesso alcune dipendenze:

Dipendenze Digikam:
libkgeomap4 INSTALLATA
opencv-legacy
libkface

libkvkontakte INSTALLATA
libpgf INSTALLATA
lensfun INSTALLATA
liblqr INSTALLATA

Per il momento ho problemi ad installare la dipendenza per libkface e cioè opencv-legacy

Ho questo errore.
Parlo da ignorante... potrebbe che la funzione CODEC_FLAG_GLOBAL_HEADER fa parte di ffmpeg3 e non ffmpeg4 ??



Codice: Seleziona tutto

[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/init.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/init.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/init.cpp
In file included from /tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/core_c.h:48,
                 from /tmp/SBo/opencv-3.1.0/modules/imgproc/include/opencv2/imgproc/types_c.h:46,
                 from /tmp/SBo/opencv-3.1.0/modules/imgproc/include/opencv2/imgproc/imgproc_c.h:46,
                 from /tmp/SBo/opencv-3.1.0/modules/videoio/src/precomp.hpp:53,
                 from /tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg.cpp:42:
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h: In copy constructor 'CvMat::CvMat(const CvMat&)':
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h:461:59: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'struct CvMat'; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
  461 |     CvMat(const CvMat& m) { memcpy(this, &m, sizeof(CvMat));}
      |                                                           ^
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h:423:16: note: 'struct CvMat' declared here
  423 | typedef struct CvMat
      |                ^~~~~
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h: In constructor 'CvMat::CvMat(const cv::Mat&)':
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h:530:69: warning: implicitly-declared 'constexpr CvMat& CvMat::operator=(const CvMat&)' is deprecated [-Wdeprecated-copy]
  530 |     *this = cvMat(m.rows, m.dims == 1 ? 1 : m.cols, m.type(), m.data);
      |                                                                     ^
/tmp/SBo/opencv-3.1.0/modules/core/include/opencv2/core/types_c.h:461:5: note: because 'CvMat' has user-provided 'CvMat::CvMat(const CvMat&)'
  461 |     CvMat(const CvMat& m) { memcpy(this, &m, sizeof(CvMat));}
      |     ^~~~~
In file included from /tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg.cpp:45:
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In function 'AVStream* icv_add_video_stream_FFMPEG(AVFormatContext*, AVCodecID, int, int, int, double, int)':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1313:21: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope; did you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
 1313 |         c->flags |= CODEC_FLAG_GLOBAL_HEADER;
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~
      |                     AV_CODEC_FLAG_GLOBAL_HEADER
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1337:30: error: 'AVFMT_RAWPICTURE' was not declared in this scope
 1337 |     if (oc->oformat->flags & AVFMT_RAWPICTURE) {
      |                              ^~~~~~~~~~~~~~~~
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'void CvVideoWriter_FFMPEG::close()':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1525:35: error: 'AVFMT_RAWPICTURE' was not declared in this scope
 1525 |         if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 )
      |                                   ^~~~~~~~~~~~~~~~
In file included from /tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg.cpp:45:
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool CvVideoWriter_FFMPEG::open(const char*, int, double, int, int, bool)':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1825:32: error: 'AVFMT_RAWPICTURE' was not declared in this scope
 1825 |     if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
      |                                ^~~~~~~~~~~~~~~~
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In static member function 'static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, AVPixelFormat)':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2124:25: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope; did you mean 'AV_CODEC_FLAG_GLOBAL_HEADER'?
 2124 |             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
      |                         AV_CODEC_FLAG_GLOBAL_HEADER
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In member function 'bool OutputMediaStream_FFMPEG::open(const char*, int, int, double)':
/tmp/SBo/opencv-3.1.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2207:30: warning: ignoring return value of 'int avformat_write_header(AVFormatContext*, AVDictionary**)', declared with attribute warn_unused_result [-Wunused-result]
 2207 |         avformat_write_header(oc_, NULL);
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:154: modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1
make[2]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
make[1]: *** [CMakeFiles/Makefile2:3632: modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/concat_layer.cpp
[  9%] Linking CXX shared library ../../lib/libopencv_shape.so
cd /tmp/SBo/opencv-3.1.0/build/modules/shape && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_shape.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG  -shared -Wl,-soname,libopencv_shape.so.3.1 -o ../../lib/libopencv_shape.so.3.1.0 CMakeFiles/opencv_shape.dir/src/aff_trans.cpp.o CMakeFiles/opencv_shape.dir/src/emdL1.cpp.o CMakeFiles/opencv_shape.dir/src/haus_dis.cpp.o CMakeFiles/opencv_shape.dir/src/hist_cost.cpp.o CMakeFiles/opencv_shape.dir/src/precomp.cpp.o CMakeFiles/opencv_shape.dir/src/sc_dis.cpp.o CMakeFiles/opencv_shape.dir/src/tps_trans.cpp.o -Wl,-rpath,/tmp/SBo/opencv-3.1.0/build/lib: ../../lib/libopencv_video.so.3.1.0 -ldl -lm -lpthread -lrt -lGL -lGLU ../../lib/libopencv_imgproc.so.3.1.0 ../../lib/libopencv_core.so.3.1.0
cd /tmp/SBo/opencv-3.1.0/build/modules/shape && /usr/bin/cmake -E cmake_symlink_library ../../lib/libopencv_shape.so.3.1.0 ../../lib/libopencv_shape.so.3.1 ../../lib/libopencv_shape.so
make[2]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
[  9%] Built target opencv_shape
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/convolution_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/fully_connected_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/im2col.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/im2col.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/im2col.cpp
[  9%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/photo && /usr/bin/c++  -DCVAPI_EXPORTS -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/modules/photo/include -I/tmp/SBo/opencv-3.1.0/modules/photo/src -I/tmp/SBo/opencv-3.1.0/build/modules/photo -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o -c /tmp/SBo/opencv-3.1.0/modules/photo/src/tonemap.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/layers_common.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/lrn_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/mvn_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/pooling_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/reshape_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/slice_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/softmax_layer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/layers/split_layer.cpp
[  9%] Building CXX object modules/photo/CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/photo && /usr/bin/c++  -DCVAPI_EXPORTS -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/modules/photo/include -I/tmp/SBo/opencv-3.1.0/modules/photo/src -I/tmp/SBo/opencv-3.1.0/build/modules/photo -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o -c /tmp/SBo/opencv-3.1.0/build/modules/photo/opencl_kernels_photo.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/torch/THDiskFile.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/torch/THFile.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/torch/THGeneral.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o -c /tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src/torch/torch_importer.cpp
[  9%] Building CXX object modules/dnn/CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/c++  -DCVAPI_EXPORTS -DHAVE_PROTOBUF=1 -D__OPENCV_BUILD=1 -I/tmp/SBo/opencv-3.1.0/3rdparty/include/opencl/1.2 -I/tmp/SBo/opencv-3.1.0/build -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/src -I/tmp/SBo/opencv-3.1.0/build/modules/dnn -I/tmp/SBo/opencv-3.1.0/modules/core/include -I/tmp/SBo/opencv-3.1.0/modules/imgproc/include -I/tmp/SBo/opencv-3.1.0/opencv_contrib-3.1.0/modules/dnn/3rdparty/protobuf/src -isystem /usr/include/eigen3  -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG -fPIC   -o CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o -c /tmp/SBo/opencv-3.1.0/build/modules/dnn/opencl_kernels_dnn.cpp
[  9%] Linking CXX shared library ../../lib/libopencv_photo.so
cd /tmp/SBo/opencv-3.1.0/build/modules/photo && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_photo.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG  -DNDEBUG  -shared -Wl,-soname,libopencv_photo.so.3.1 -o ../../lib/libopencv_photo.so.3.1.0 CMakeFiles/opencv_photo.dir/src/align.cpp.o CMakeFiles/opencv_photo.dir/src/calibrate.cpp.o CMakeFiles/opencv_photo.dir/src/contrast_preserve.cpp.o CMakeFiles/opencv_photo.dir/src/denoise_tvl1.cpp.o CMakeFiles/opencv_photo.dir/src/denoising.cpp.o CMakeFiles/opencv_photo.dir/src/denoising.cuda.cpp.o CMakeFiles/opencv_photo.dir/src/hdr_common.cpp.o CMakeFiles/opencv_photo.dir/src/inpaint.cpp.o CMakeFiles/opencv_photo.dir/src/merge.cpp.o CMakeFiles/opencv_photo.dir/src/npr.cpp.o CMakeFiles/opencv_photo.dir/src/seamless_cloning.cpp.o CMakeFiles/opencv_photo.dir/src/seamless_cloning_impl.cpp.o CMakeFiles/opencv_photo.dir/src/tonemap.cpp.o CMakeFiles/opencv_photo.dir/opencl_kernels_photo.cpp.o -Wl,-rpath,/tmp/SBo/opencv-3.1.0/build/lib: ../../lib/libopencv_imgproc.so.3.1.0 -ldl -lm -lpthread -lrt -lGL -lGLU ../../lib/libopencv_core.so.3.1.0
cd /tmp/SBo/opencv-3.1.0/build/modules/photo && /usr/bin/cmake -E cmake_symlink_library ../../lib/libopencv_photo.so.3.1.0 ../../lib/libopencv_photo.so.3.1 ../../lib/libopencv_photo.so
make[2]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
[  9%] Built target opencv_photo
[ 10%] Linking CXX shared library ../../lib/libopencv_dnn.so
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/cmake -E cmake_link_script CMakeFiles/opencv_dnn.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -fPIC   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security  -Wundef -Winit-self -Wpointer-arith -Wshadow  -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -Wno-shadow -Wno-parentheses -Wno-maybe-uninitialized -Wno-sign-promo -Wno-missing-declarations -Wno-unused-parameter -O3 -DNDEBUG  -DNDEBUG  -shared -Wl,-soname,libopencv_dnn.so.3.1 -o ../../lib/libopencv_dnn.so.3.1.0 CMakeFiles/opencv_dnn.dir/caffe.pb.cc.o CMakeFiles/opencv_dnn.dir/src/blob.cpp.o CMakeFiles/opencv_dnn.dir/src/caffe/caffe_importer.cpp.o CMakeFiles/opencv_dnn.dir/src/caffe/caffe_io.cpp.o CMakeFiles/opencv_dnn.dir/src/dnn.cpp.o CMakeFiles/opencv_dnn.dir/src/init.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/concat_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/convolution_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/fully_connected_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/im2col.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/layers_common.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/lrn_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/mvn_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/pooling_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/reshape_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/slice_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/softmax_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/layers/split_layer.cpp.o CMakeFiles/opencv_dnn.dir/src/torch/THDiskFile.cpp.o CMakeFiles/opencv_dnn.dir/src/torch/THFile.cpp.o CMakeFiles/opencv_dnn.dir/src/torch/THGeneral.cpp.o CMakeFiles/opencv_dnn.dir/src/torch/torch_importer.cpp.o CMakeFiles/opencv_dnn.dir/opencl_kernels_dnn.cpp.o -Wl,-rpath,/tmp/SBo/opencv-3.1.0/build/lib: ../../lib/libopencv_imgproc.so.3.1.0 -ldl -lm -lpthread -lrt -lGL -lGLU ../../3rdparty/lib64/liblibprotobuf.a ../../lib/libopencv_core.so.3.1.0
cd /tmp/SBo/opencv-3.1.0/build/modules/dnn && /usr/bin/cmake -E cmake_symlink_library ../../lib/libopencv_dnn.so.3.1.0 ../../lib/libopencv_dnn.so.3.1 ../../lib/libopencv_dnn.so
make[2]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
[ 10%] Built target opencv_dnn
make[1]: Leaving directory '/tmp/SBo/opencv-3.1.0/build'
make: *** [Makefile:163: all] Error 2

opencv-legacy:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:



Grazie

Avatar utente
brg
Linux 2.x
Linux 2.x
Messaggi: 465
Iscritto il: sab mar 12, 2011 14:20
Slackware: 14.2
Kernel: 4.4.172
Desktop: KDE4
Località: Montecatini
Contatta:

Re: Installazione Digikam su current

Messaggioda brg » ven set 06, 2019 9:16


Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 10:42

intervengo solo per dire che qui opencv-legacy compila tranquillamente su current (dove e' installato ffmpeg-4.2 di serie).

l'unica cosa che mi potrebbe venire in mente e' che tu abbia installato qualche dipendenza (magari anche opzionale) che sfrutta funzioni del vecchio ffmpeg (magari l'avevi compilata tempo fa)... per il resto non saprei cosa consigliarti.

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 10:45

ponce ha scritto:intervengo solo per dire che qui opencv-legacy compila tranquillamente su current (dove e' installato ffmpeg-4.2 di serie).


Grazie Matteo,
stavi proprio guardando la soluzione di brg....ma mi sembrava assurdo che dovevo fare quel copia/incolla.

Adesso non so cosa pensare... :?

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 11:00

magari potresti farti i pacchetti su una macchina virtuale con un'installazione di current pulita...

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 11:08

ponce ha scritto:magari potresti farti i pacchetti su una macchina virtuale con un'installazione di current pulita...


Ciao, vedrò se ne sono capace :?
Resta il fatto che le macro

AVFMT_RAWPICTURE
CODEC_FLAG_GLOBAL_HEADER

in ffmpeg-4.2

non mi sembra che siano dichiarate.

La AVFMT_RAWPICTURE è deprecata dal 2015 https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2015-October/094568.html

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 13:16

lo re-incollo, magari ti e' sfuggito

ponce ha scritto:l'unica cosa che mi potrebbe venire in mente e' che tu abbia installato qualche dipendenza (magari anche opzionale) che sfrutta funzioni del vecchio ffmpeg (magari l'avevi compilata tempo fa)

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 14:05

ponce ha scritto:lo re-incollo, magari ti e' sfuggito

ponce ha scritto:l'unica cosa che mi potrebbe venire in mente e' che tu abbia installato qualche dipendenza (magari anche opzionale) che sfrutta funzioni del vecchio ffmpeg (magari l'avevi compilata tempo fa)


Seconto te se faccio

slackpkg update
slackpkg upgrade-all
slackpkg install-new
slackpkg clean-system

mi trovo una current aggiornata e priva di pacchetti esterni alla ufficiale ??

Grazie e scusami ancora :roll:

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 14:12

mi sembrava di aver gia' risposto: non e' certo perche' dipende da cosa ci hai installato e come.
se vuoi essere sicuro ti conviene fare un'installazione pulita.

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 14:16

Grazie, rifarò un installazione pulita.

GRazie

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 14:51

Ripeto, ti converrebbe farla in una macchina virtuale, sennò tempo poco risarai nella solita situazione.

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 14:56

ponce ha scritto:Ripeto, ti converrebbe farla in una macchina virtuale, sennò tempo poco risarai nella solita situazione.


Scusami ancora, ma data la mia ignoranza non riesco a capire..
Lo faresti sulla virtuale solo per costruire il pacchetto opencv-legacy e basta!!
Poi il txz me lo installo a mano sulla reale, giusto??

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 15:20

si, comunque ci puoi fare anche altri pacchetti, non e' per gufarla ma non credo che sara' l'unica pacchettizzazione problematica che avrai...

comunque, se vuoi provare ad installarlo e vedere se il resto ti funzionasse puoi anche prendere il pacchetto che ho fatto ieri per test da qui.

dafrasaga
Linux 1.x
Linux 1.x
Messaggi: 165
Iscritto il: mar set 08, 2009 11:39
Slackware: current
Località: Vinci -FI-

Re: Installazione Digikam su current

Messaggioda dafrasaga » ven set 06, 2019 15:26

Grazie

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 2631
Iscritto il: mer mar 05, 2008 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 5.3.2
Desktop: lxde
Località: Pisa
Contatta:

Re: Installazione Digikam su current

Messaggioda ponce » ven set 06, 2019 19:18

ponce ha scritto:intervengo solo per dire che qui opencv-legacy compila tranquillamente su current (dove e' installato ffmpeg-4.2 di serie).

ehm, devo fare ammenda, mi sono sbagliato: il pacchetto che ho compilato di opencv-legacy e' stato fatto su una macchina virtuale dove non c'era ffmpeg (lo avevo disinstallato per ricompilarlo) :) quindi ho verificato ed effettivamente non compila con ffmpeg-4.x.
poco male, comunque: secondo me va benissimo compilarlo anche senza il supporto a ffmpeg, tanto non credo che tu voglia usare opencv per acquisire video dalle telecamere tramite ffmpeg (anche perche' puoi comunque usare tranquillamente uno degli altri backend).
per disabilitare il supporto a ffmpeg anche senza rimuovere il pacchetto c'e' una variabile apposita da passare allo SlackBuild, CVFFMPEG=no, e' scritto nel README di opencv-legacy.

senno', in alternativa, puoi seguire la strada che ti ha indicato brg.