26-12-19, 22:10
(26-12-19, 22:02)nicoauffray a écrit :(26-12-19, 21:32)LViatour a écrit : cc1: all warnings being treated as errors
src/iop/CMakeFiles/watermark.dir/build.make:67: recipe for target 'src/iop/CMakeFiles/watermark.dir/introspection_watermark.c.o' failed
make[2]: *** [src/iop/CMakeFiles/watermark.dir/introspection_watermark.c.o] Error 1
CMakeFiles/Makefile2:4612: recipe for target 'src/iop/CMakeFiles/watermark.dir/all' failed
make[1]: *** [src/iop/CMakeFiles/watermark.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
Finalement, j'ai réussi à compiler la 3.0.1 en appliquant à la lettre la réponse de rawfiner. Habituellement, un git submodule update suffisait mais il semble qu'il faille vraiment reprendre à 0. Dans mon dossier de compil, je me suis déjà assuré d'être sur la branche master (et non next par exemple) :
Code :git checkout master
(pour m'assurer d'avoir la dernière mise à jour)Code :git pull
Puis j'ai supprimé le dossier build (et le dossier où darktable s'installe). Ensuite, j'ai fait donc :
(et là j'ai eu une référence de mise à jour OpenCL) puisCode :git submodule init
Code :git submodule update
Compilation ensuite ok.
et bien chez moi cela ne change rien....
[ 61%] Building C object src/iop/CMakeFiles/lowpass.dir/introspection_lowpass.c.o
In file included from /home/christophe/darktable/build/src/iop/introspection_watermark.c:48:0:
/home/christophe/darktable/src/iop/watermark.c: In function ‘_watermark_get_svgdoc’:
/home/christophe/darktable/src/iop/watermark.c:816:3: error: unknown type name ‘dt_variables_params_t’; did you mean ‘dt_iop_params_t’?
dt_variables_params_t *params;
^~~~~~~~~~~~~~~~~~~~~
dt_iop_params_t
[ 61%] Linking C shared module libcolisa.so
/home/christophe/darktable/src/iop/watermark.c:817:3: error: implicit declaration of function ‘dt_variables_params_init’; did you mean ‘dt_view_manager_init’? [-Werror=implicit-function-declaration]
dt_variables_params_init(¶ms);
^~~~~~~~~~~~~~~~~~~~~~~~
dt_view_manager_init
/home/christophe/darktable/src/iop/watermark.c:818:9: error: request for member ‘filename’ in something not a structure or union
params->filename = image->filename;
^~
/home/christophe/darktable/src/iop/watermark.c:819:9: error: request for member ‘jobcode’ in something not a structure or union
params->jobcode = "watermark";
^~
/home/christophe/darktable/src/iop/watermark.c:820:9: error: request for member ‘sequence’ in something not a structure or union
params->sequence = 0;
^~
/home/christophe/darktable/src/iop/watermark.c:821:9: error: request for member ‘imgid’ in something not a structure or union
params->imgid = image->id;
^~
/home/christophe/darktable/src/iop/watermark.c:822:3: error: implicit declaration of function ‘dt_variables_set_tags_flags’; did you mean ‘dt_tag_get_tags_images’? [-Werror=implicit-function-declaration]
dt_variables_set_tags_flags(params, flags);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
dt_tag_get_tags_images
Scanning dependencies of target colorin
/home/christophe/darktable/src/iop/watermark.c:823:12: error: implicit declaration of function ‘dt_variables_expand’ [-Werror=implicit-function-declaration]
svgdoc = dt_variables_expand(params, svgdata, FALSE);
^~~~~~~~~~~~~~~~~~~
/home/christophe/darktable/src/iop/watermark.c:823:10: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
svgdoc = dt_variables_expand(params, svgdata, FALSE);
^
[ 61%] Built target colisa
cc1: all warnings being treated as errors
src/iop/CMakeFiles/watermark.dir/build.make:67: recipe for target 'src/iop/CMakeFiles/watermark.dir/introspection_watermark.c.o' failed
make[2]: *** [src/iop/CMakeFiles/watermark.dir/introspection_watermark.c.o] Error 1
CMakeFiles/Makefile2:4612: recipe for target 'src/iop/CMakeFiles/watermark.dir/all' failed
make[1]: *** [src/iop/CMakeFiles/watermark.dir/all] Error 2
make[1]: *** Attente des tâches non terminées....
Scanning dependencies of target profile_gamma