[digiKam-users] 6.0.0 beta compilation failed
Matthieu
ermelir at gmail.com
Sun Sep 2 06:19:55 BST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20180902/6e4c305c/attachment.html>
More information about the Digikam-users
mailing list