Open Joermungand opened 8 years ago
No idea, except for the fact that the inpaint code includes quite a lot of template-based header files... this might trigger some compiler bug?
The code compiles fine on my system, and as far as I can see it was also compiled fine in the Ubuntu PPA.
Have you tried to re-start the compilation? If the compiler still crashes each time, I will try to make the inpaint code "lighter" in terms of the amount of template-based code that needs to be compiled, hopefully this will solve the issue...
Thanks. I will try again. I’m half suspecting this might be a gcc6-related issue (Archlinux is on gcc6), I’ve seen a lot of those lately.
Strangely enough, it worked the second time around. So it couldn’t have been because of GCC6, after all. It might have been because of something far more commonplace, such as room temperature over 30°C, which throws my CPU temps well over 70 while compiling. Trying to do something else at the same time will add to that.
Ok. I'll keep this open to remind myself that I should simplify the inpaint code anyhow, as it takes quite some time to compile at the moment.
Yeah, it does take a while. There is no bug, though. Thank you.
Trying to compile the latest Stable branch results in:
In file included from /media/Storage/Downloads/PhotoFlow/AUR/nightly/src/photoflow/src/gui/operations/gmic/../../../operations/gmic/inpaint.hh:41:0, from /media/Storage/Downloads/PhotoFlow/AUR/nightly/src/photoflow/src/gui/operations/gmic/inpaint_config.cc:33: /media/Storage/Downloads/PhotoFlow/AUR/nightly/src/photoflow/src/gui/operations/gmic/../../../operations/gmic/../draw.hh:120:56: internal compiler error: Segmentation fault Property<float>& get_pen_grey() { return pen_grey; }
Any idea why?