[digiKam-users] 6.0.0 beta compilation failed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] 6.0.0 beta compilation failed

Matthieu
Hi there,

I got the following error when running the make command:

/tmp/digikam-6.0.0-beta1/core/libs/dialogs/webbrowserdlg.cpp:38:13: fatal error: QWebEngineView: Aucun fichier ou dossier de ce type
 #   include <QWebEngineView>
             ^~~~~~~~~~~~~~~~
compilation terminated.
core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/build.make:422: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o' failed
make[2]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o] Error 1
CMakeFiles/Makefile2:4558: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all' failed
make[1]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


Additionnaly, I got some fews warnings during the steps which have been built:

In file included from /tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static char cimg_library::cimg::type<char>::min()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2138:63: warning: left shift of negative value [-Wshift-negative-value]
       static char min() { return (char)(-1L<<(8*sizeof(char)-1)); }
                                                               ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static char cimg_library::cimg::type<char>::max()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2139:65: warning: left shift of negative value [-Wshift-negative-value]
       static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); }
                                                                 ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static signed char cimg_library::cimg::type<signed char>::min()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2147:84: warning: left shift of negative value [-Wshift-negative-value]
       static signed char min() { return (signed char)(-1L<<(8*sizeof(signed char)-1)); }
                                                                                    ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static signed char cimg_library::cimg::type<signed char>::max()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2148:86: warning: left shift of negative value [-Wshift-negative-value]
       static signed char max() { return ~((signed char)(-1L<<(8*sizeof(signed char)-1))); }
                                                                                      ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static short int cimg_library::cimg::type<short int>::min()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2165:66: warning: left shift of negative value [-Wshift-negative-value]
       static short min() { return (short)(-1L<<(8*sizeof(short)-1)); }
                                                                  ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static short int cimg_library::cimg::type<short int>::max()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2166:68: warning: left shift of negative value [-Wshift-negative-value]
       static short max() { return ~((short)(-1L<<(8*sizeof(short)-1))); }
                                                                    ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static int cimg_library::cimg::type<int>::min()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2183:60: warning: left shift of negative value [-Wshift-negative-value]
       static int min() { return (int)(-1L<<(8*sizeof(int)-1)); }
                                                            ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static int cimg_library::cimg::type<int>::max()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2184:62: warning: left shift of negative value [-Wshift-negative-value]
       static int max() { return ~((int)(-1L<<(8*sizeof(int)-1))); }
                                                              ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static long int cimg_library::cimg::type<long int>::min()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2201:63: warning: left shift of negative value [-Wshift-negative-value]
       static long min() { return (long)(-1L<<(8*sizeof(long)-1)); }
                                                               ^
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In static member function 'static long int cimg_library::cimg::type<long int>::max()':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:2202:65: warning: left shift of negative value [-Wshift-negative-value]
       static long max() { return ~((long)(-1L<<(8*sizeof(long)-1))); }
                                                                 ^
In file included from /tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/greycstorationfilter.cpp:69:0:
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function 'cimg_library::CImg<typename cimg_library::cimg::superset<T, float>::type> cimg_library::CImg<T>::get_pointwise_norm(int) const':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if (tmp>n) n=tmp; res(x,y,z) = n;
             ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:15616:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
             if (tmp>n) n=tmp; res(x,y,z) = n;
                               ^~~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::draw_graph(const cimg_library::CImg<t>&, const tc*, float, unsigned int, unsigned int, double, double, unsigned int)':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if (color1) delete[] color1; if (color2) delete[] color2;
       ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:22558:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
       if (color1) delete[] color1; if (color2) delete[] color2;
                                    ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h: In member function 'cimg_library::CImg<typename cimg_library::cimg::last<T, int>::type> cimg_library::CImg<T>::_get_select(cimg_library::CImgDisplay&, const char*, int, unsigned int*, const unsigned char*, int, int, int) const':
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
         ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27851:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1;
                           ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
         ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27852:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1;
                           ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
         ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27853:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1;
                           ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;
         ^~
/tmp/digikam-6.0.0-beta1/core/libs/dimg/filters/greycstoration/cimg/CImg.h:27854:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
         if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1;

Let me know if you need additional details.

Kind regards

Mat
Reply | Threaded
Open this post in threaded view
|

Re: 6.0.0 beta compilation failed

Gilles Caulier-4


2018-09-02 7:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I got the following error when running the make command:

/tmp/digikam-6.0.0-beta1/core/libs/dialogs/webbrowserdlg.cpp:38:13: fatal error: QWebEngineView: Aucun fichier ou dossier de ce type
 #   include <QWebEngineView>
             ^~~~~~~~~~~~~~~~
compilation terminated.
core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/build.make:422: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o' failed
make[2]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o] Error 1
CMakeFiles/Makefile2:4558: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all' failed
make[1]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


It miss the QtWebengine  headers on your system, so the development package relevant.

But cmake at configuration time must report about.

It sound a broken package installed on your system. Which system do you use ?

 

Additionnaly, I got some fews warnings during the steps which have been built:


All come from the internal CImg library code include as 3rdParty, and not updated since a very long time. And we cannot update it anymore...

Gilles Caulier
Reply | Threaded
Open this post in threaded view
|

Re: 6.0.0 beta compilation failed

Matthieu
Hello Gilles,

My OS is Ubuntu 18.04.

Regards

Le dim. 2 sept. 2018 à 18:58, Gilles Caulier <[hidden email]> a écrit :


2018-09-02 7:19 GMT+02:00 Matthieu <[hidden email]>:
Hi there,

I got the following error when running the make command:

/tmp/digikam-6.0.0-beta1/core/libs/dialogs/webbrowserdlg.cpp:38:13: fatal error: QWebEngineView: Aucun fichier ou dossier de ce type
 #   include <QWebEngineView>
             ^~~~~~~~~~~~~~~~
compilation terminated.
core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/build.make:422: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o' failed
make[2]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/webbrowserdlg.cpp.o] Error 1
CMakeFiles/Makefile2:4558: recipe for target 'core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all' failed
make[1]: *** [core/libs/dialogs/CMakeFiles/digikamdialogscore_src.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


It miss the QtWebengine  headers on your system, so the development package relevant.

But cmake at configuration time must report about.

It sound a broken package installed on your system. Which system do you use ?

 

Additionnaly, I got some fews warnings during the steps which have been built:


All come from the internal CImg library code include as 3rdParty, and not updated since a very long time. And we cannot update it anymore...

Gilles Caulier