After the modifications made by Roman I now have two errors:

In file included from /home/michel/Logiciels/DT_ML/src/common/opencl.h:39:0,
from /home/michel/Logiciels/DT_ML/src/develop/imageop.h:37, from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:28: /home/michel/Logiciels/DT_ML/src/control/conf.h: In function ‘int dt_conf_get_int(const char*)’: /home/michel/Logiciels/DT_ML/src/control/conf.h:146:21: error: ‘isnan’ was not declared in this scope
   if(isnan(new_value)) new_value = 0.0;
                     ^
/home/michel/Logiciels/DT_ML/src/control/conf.h:146:21: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
                 from /usr/include/c++/5/bits/stl_algo.h:66,
                 from /usr/include/c++/5/algorithm:62,
from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:21:
/usr/include/c++/5/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^
In file included from /home/michel/Logiciels/DT_ML/src/common/opencl.h:39:0,
from /home/michel/Logiciels/DT_ML/src/develop/imageop.h:37, from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:28: /home/michel/Logiciels/DT_ML/src/control/conf.h: In function ‘int64_t dt_conf_get_int64(const char*)’: /home/michel/Logiciels/DT_ML/src/control/conf.h:161:21: error: ‘isnan’ was not declared in this scope
   if(isnan(new_value)) new_value = 0.0;
                     ^
/home/michel/Logiciels/DT_ML/src/control/conf.h:161:21: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
                 from /usr/include/c++/5/bits/stl_algo.h:66,
                 from /usr/include/c++/5/algorithm:62,
from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:21:
/usr/include/c++/5/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^
In file included from /home/michel/Logiciels/DT_ML/src/common/opencl.h:39:0,
from /home/michel/Logiciels/DT_ML/src/develop/imageop.h:37, from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:28: /home/michel/Logiciels/DT_ML/src/control/conf.h: In function ‘float dt_conf_get_float(const char*)’: /home/michel/Logiciels/DT_ML/src/control/conf.h:176:15: error: ‘isnan’ was not declared in this scope
   if(isnan(val)) val = 0.0;
               ^
/home/michel/Logiciels/DT_ML/src/control/conf.h:176:15: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
                 from /usr/include/c++/5/bits/stl_algo.h:66,
                 from /usr/include/c++/5/algorithm:62,
from /home/michel/Logiciels/DT_ML/src/iop/amaze_demosaic_RT.cc:21:
/usr/include/c++/5/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^
[100%] Building C object src/chart/CMakeFiles/darktable-chart.dir/tonecurve.c.o
[100%] Built target darktable-generate-cache
src/iop/CMakeFiles/demosaic.dir/build.make:91 : la recette pour la cible « src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o » a échouée make[2]: *** [src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o] Erreur 1 CMakeFiles/Makefile2:6165 : la recette pour la cible « src/iop/CMakeFiles/demosaic.dir/all » a échouée
make[1]: *** [src/iop/CMakeFiles/demosaic.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
[100%] Built target darktable-cli
[100%] Built target darktable-viewer
[100%] Linking C executable darktable-chart
[100%] Built target darktable-chart
Makefile:149 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2


Le 27/10/2016 à 22:34, João Horta a écrit :
[ 92%] Building CXX object src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h:148:0, from /usr/include/c++/5/ext/atomicity.h:35, from /usr/include/c++/5/bits/basic_string.h:39, from /usr/include/c++/5/string:52, from /usr/include/c++/5/random:40, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/jmhorta/darktable/src/iop/amaze_demosaic_RT.cc:37: /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:105:9: error: attempt to use poisoned "pthread_create" __gthrw(pthread_create) ^ /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h:662:19: error: attempt to use poisoned "pthread_create" return __gthrw_(pthread_create) (__threadid, NULL, __func, __args); ^ In file included from /usr/include/c++/5/ext/string_conversions.h:43:0, from /usr/include/c++/5/bits/basic_string.h:5249, from /usr/include/c++/5/string:52, from /usr/include/c++/5/random:40, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /home/jmhorta/darktable/src/iop/amaze_demosaic_RT.cc:37: /usr/include/c++/5/cstdio:94:8: error: attempt to use poisoned "vsprintf" #undef vsprintf ^ /usr/include/c++/5/cstdio:146:11: error: attempt to use poisoned "vsprintf" using ::vsprintf; ^ src/iop/CMakeFiles/demosaic.dir/build.make:91: recipe for target 'src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o' failed make[2]: *** [src/iop/CMakeFiles/demosaic.dir/amaze_demosaic_RT.cc.o] Error 1 CMakeFiles/Makefile2:5962: recipe for target 'src/iop/CMakeFiles/demosaic.dir/all' failed make[1]: *** [src/iop/CMakeFiles/demosaic.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 jmhorta@Ubuntu1604:~$ sudo apt update && sudo apt install adapta-gtk-theme


___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org


___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to