Plusieurs mises à jour sans problème et depuis hier des erreurs. Besoin d’aide.
– Build information:
– Build OS: Linux
– Build date: 2025-12-17T10:02:04Z
– CACHE_NAME_SUFFIX is “”
[ 0%] Built target UpdateInfo
[ 1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/rawimage_gainmap.cc.o
In file included from /home/philippe/programs/code-art/rtengine/rawimage_gainmap.cc:21:
/home/philippe/programs/code-art/rtengine/gainmap.h:48:10: error: ‘string’ in namespace ‘std’ does not name a type
48 | std::string to_str() const;
| ^~~~~~
/home/philippe/programs/code-art/rtengine/gainmap.h:25:1: note: ‘std::string’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
24 | #include
+++ |+#include
25 |
make[2]: *** [rtengine/CMakeFiles/rtengine.dir/build.make:1759: rtengine/CMakeFiles/rtengine.dir/rawimage_gainmap.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: rtengine/CMakeFiles/rtengine.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
philippe@deletree:~/programs/code-art/tools$
Je viens d’essayer, même problème de mon côté. Tu as quoi comme distribution et version de distribution ?
Je vais signaler le bug à Alberto sur github.
@Deletree_Philippe si tu te sens l’âme d’un aventurier, en attendant un correctif officiel tu peux éditer le fichier rtengine/gainmap.h en ajoutant la ligne #include <string> en début de fichier, et relancer la compilation. J’ai tenté et ça marche pour moi.
j’ai ajouté #include avec nano, pas content le compilateur :
1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/rawimage_gainmap.cc.o
In file included from /home/philippe/programs/code-art/rtengine/rawimage_gainmap.cc:21:
/home/philippe/programs/code-art/rtengine/gainmap.h:48:10: error: ‘string’ in namespace ‘std’ does not name a type
48 | std::string to_str() const;
| ^~~~~~
/home/philippe/programs/code-art/rtengine/gainmap.h:25:1: note: ‘std::string’ is defined in header ‘’; this is probably fixable by adding ‘#include ’
24 | #include
+++ |+#include
25 |
make[2]: *** [rtengine/CMakeFiles/rtengine.dir/build.make:1759: rtengine/CMakeFiles/rtengine.dir/rawimage_gainmap.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:190: rtengine/CMakeFiles/rtengine.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
philippe@deletree:~/programs/code-art/tools$