Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
3.01 problème lors de la compilation
#19
(26-12-19, 23:21)pascal a écrit : La rafale de commit c'est moi Smile

Sinon, Luc pour ton problème c'est le support OpenCL qui utilise maintenant le dépôt upstream avec un sous-module donc les commandes que l'on t'a données sont les bonnes.

Tu peux probablement corriger le problème ensuite (les autres erreurs ressemblent à des problèmes de mise-à-jour) par:


Code :
$ git reset --hard
$ git pull
$ git submodule init
$ git submodule upadte
$ rm -fr build
$ ./build.sh
Ben non cela ne fonctionne toujours pas....
[ 61%] Generating introspection_lowpass.c
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
[ 61%] Linking C shared module libcolisa.so
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%] Linking C shared module libdenoiseprofile.so
[ 61%] Building C object src/iop/CMakeFiles/lowpass.dir/introspection_lowpass.c.o
Scanning dependencies of target colorin
[ 61%] Built target colisa
Luc Viatour Photographe 
Website
Répondre


Messages dans ce sujet
RE: 3.01 problème lors de la compilation - par LViatour - 27-12-19, 00:09

Atteindre :


Utilisateur(s) parcourant ce sujet : 9 visiteur(s)