Forum darktable FR

Version complète : 3.01 problème lors de la compilation
Vous consultez actuellement la version basse qualité d’un document. Voir la version complète avec le bon formatage.
Pages : 1 2 3 4
J'ai un problème sur un PC d'un collègue ou j'ai compilé la version 3.1.

Une idée pour résoudre la compilation.?

Voici le message ou s'arrête la compilation:
[ 25%] Building C object src/CMakeFiles/lib_darktable.dir/common/curl_tools.c.o
In file included from /home/christophe/darktable/src/common/bilateralcl.c:21:0:
/home/christophe/darktable/src/common/bilateralcl.h:26:10: fatal error: CL/cl.h: Aucun fichier ou dossier de ce type
 #include <CL/cl.h>          // for cl_mem, _cl_mem
          ^~~~~~~~~
compilation terminated.
src/CMakeFiles/lib_darktable.dir/build.make:172: recipe for target 'src/CMakeFiles/lib_darktable.dir/common/bilateralcl.c.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/bilateralcl.c.o] Error 1
make[2]: *** Attente des tâches non terminées....
In file included from /home/christophe/darktable/src/common/opencl.h:38:0,
                 from /home/christophe/darktable/src/develop/imageop.h:37,
                 from /home/christophe/darktable/src/common/color_picker.c:23:
/home/christophe/darktable/src/common/dlopencl.h:27:10: fatal error: CL/cl.h: Aucun fichier ou dossier de ce type
 #include <CL/cl.h>
          ^~~~~~~~~
compilation terminated.
Je viens juste de compiler sans problème Luc, il y a eu une rafale de commit à 19:43.
(26-12-19, 20:15)jpg54 a écrit : [ -> ]Je viens juste de compiler sans problème Luc, il y a eu une rafale de commit à 19:43.

je viens de refaire une compilation avec les changement de dernière minute et c'est pareil...
Peut-être un git submodule init et un git submodule update à faire ?
je viens d'effacer toute la compilation, j'ai refais tout à zero.

Mais j'ai un autre message d'erreur maintenant concernant les watermark:
[ 61%] Building C object src/iop/CMakeFiles/splittoning.dir/introspection_splittoning.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
/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(&params);
^~~~~~~~~~~~~~~~~~~~~~~~
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
/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);
^
Scanning dependencies of target lowpass
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....
[ 61%] Building C object src/iop/CMakeFiles/lowpass.dir/introspection_lowpa
Là, je coince !
(26-12-19, 20:53)jpg54 a écrit : [ -> ]Là, je coince !

zut, il semble ne pas trouver une image mais quoi....
Tu veux que je te zippe mon répertoire source ?
(26-12-19, 21:06)jpg54 a écrit : [ -> ]Tu veux que je te zippe mon répertoire source ?

je viens de ziper le miens et je l'envoi sur le pc du collègue mais je fais cela à distance donc c'est long....
N'hésites pas à demander si besoin.
Pages : 1 2 3 4