3.01 problème lors de la compilation - Version imprimable +- Forum darktable FR (https://forums.darktable.fr) +-- Forum : Autour de darktable (https://forums.darktable.fr/forumdisplay.php?fid=95) +--- Forum : Développement (https://forums.darktable.fr/forumdisplay.php?fid=100) +--- Sujet : 3.01 problème lors de la compilation (/showthread.php?tid=4308) |
RE: 3.01 problème lors de la compilation - LViatour - 26-12-19 bon je comprends rien cela bloque toujours: [ 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(¶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; ^~ Scanning dependencies of target lowpass /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); ^ 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.... RE: 3.01 problème lors de la compilation - nicoauffray - 26-12-19 Je n'ai pas tout à fait les mêmes problèmes mais j'ai aussi des erreurs de compilation. Pascal ayant intégré beaucoup de PR aujourd'hui, il est possible que ça a créé des problèmes. RE: 3.01 problème lors de la compilation - jpg54 - 26-12-19 Passe moi ton zip Luc, que j'essaie de le compiler. RE: 3.01 problème lors de la compilation - nicoauffray - 26-12-19 (26-12-19, 21:32)LViatour a écrit : cc1: all warnings being treated as errors 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 Code : git pull Puis j'ai supprimé le dossier build (et le dossier où darktable s'installe). Ensuite, j'ai fait donc : Code : git submodule init Code : git submodule update Compilation ensuite ok. RE: 3.01 problème lors de la compilation - LViatour - 26-12-19 (26-12-19, 22:02)nicoauffray a écrit :(26-12-19, 21:32)LViatour a écrit : cc1: all warnings being treated as errors 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 RE: 3.01 problème lors de la compilation - nicoauffray - 26-12-19 C'est étrange. Quand tu as dis être reparti de 0, as-tu essayé de supprimer carrément ton dossier darktable (celui du code source) et de repartir complètement à 0 avec : Code : git clone https://github.com/darktable-org/darktable.git puis les étapes que j'ai décrites ? RE: 3.01 problème lors de la compilation - LViatour - 26-12-19 (26-12-19, 22:55)nicoauffray a écrit : C'est étrange. Quand tu as dis être reparti de 0, as-tu essayé de supprimer carrément ton dossier darktable (celui du code source) et de repartir complètement à 0 avec : J'ai supprimé mon dossier darktable et créé un vierge et aussi viré /opt/darktable et fais les trois commandes RE: 3.01 problème lors de la compilation - pascal - 26-12-19 La rafale de commit c'est moi 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 RE: 3.01 problème lors de la compilation - LViatour - 27-12-19 (26-12-19, 23:21)pascal a écrit : La rafale de commit c'est moiBen 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(¶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 /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 RE: 3.01 problème lors de la compilation - jpg54 - 27-12-19 Luc, tu as pu compiler la master ? |