Compiling stops

Issue #137 resolved
Paul Matthijsse created an issue

Hello, compiling Art stops with this message, yesterday it compiled well. (Don’t know wy the terminal output is partly strike-throughed).

/home/paul/art/rtengine/imgiomanager.cc: In member function ‘bool rtengine::ImageIOManager::load(const Glib::ustring&, rtengine::ProgressListener*, rtengine::ImageIO*&, int, int)’:
/home/paul/art/rtengine/imgiomanager.cc:166:5: error: ‘close’ was not declared in this scope
close(fd);
~~
/home/paul/art/rtengine/imgiomanager.cc:166:5: note: suggested alternative: ‘pclose’
close(fd);
~~
pclose
rtengine/CMakeFiles/rtengine.dir/build.make:3110: recipe for target 'rtengine/CMakeFiles/rtengine.dir/imgiomanager.cc.o' failed
make[2]: *** [rtengine/CMakeFiles/rtengine.dir/imgiomanager.cc.o] Error 1
CMakeFiles/Makefile2:122: recipe for target 'rtengine/CMakeFiles/rtengine.dir/all' failed
make[1]: *** [rtengine/CMakeFiles/rtengine.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Comments (7)

  1. agriggio repo owner

    sorry, my bad. I will fix asap. In the meantime, you can add #include <unistd.h> manually and it should fix it

  2. Log in to comment