Am Fri, 22 Nov 2019 06:42:24 +0100 schrieb Gunter Königsmann <gunter.koenigsm...@gmail.com>:
> I believe if you add -std=c++1z to the compiler flags it works. > > Kind regards, > > Gunter. Unfortunately this does not help. The resulting error is the same as with -std=c++17. > Am 22. November 2019 00:57:58 MEZ schrieb Kornel Benko > <kornel.be...@berlin.de>: > >Hi, > >the recent version of enblend sources (from repo) is > >not compilable with the gnu compiler. > > > >Using it I get > >In file included from /usr/src/enblend/enblend-code/src/enblend.cc:85: > >/usr/src/enblend/enblend-code/src/optional_transitional.hpp:40:51: > >error: 'experimental' > >in namespace 'std' does not name a type 40 | template <typename t> > >using optional > >= ::std::experimental::optional<t>; | > >^~~~~~~~~~~~ > >/usr/src/enblend/enblend-code/src/optional_transitional.hpp:41:11: > >error: > >'experimental' has not been declared 41 | using > >experimental::nullopt; > > | ^~~~~~~~~~~~ > >/usr/src/enblend/enblend-code/src/enblend.cc:118:6: error: 'optional' > >in namespace 'std' > >does not name a template type 118 | std::optional<std::string> > >OutputMaskFileName; > > | ^~~~~~~~ > >/usr/src/enblend/enblend-code/src/enblend.cc:118:1: note: > >'std::optional' is only > >available from C++17 onwards > >................................................................... > > > >Patching the CMakeLists.txt to use the required --std=c++17, the error > >compiling src/enblend.cc is: > >In file included from /usr/include/vigra/stdconvolution.hxx:43, > > from /usr/include/vigra/convolution.hxx:41, > > from /usr/src/enblend/enblend-code/src/openmp_vigra.h:32, > > from /usr/src/enblend/enblend-code/src/enblend.h:41, > > from /usr/src/enblend/enblend-code/src/enblend.cc:197: > >/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++17 > >does not allow > >dynamic exception specifications 1413 | > >throw(PreconditionViolation) > > | ^~~~~ > >..................................................... > > > >This is the same with the recent g++9.2 compiler. > > > > Kornel > > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/20191122113615.2e9a019c%40admin1-desktop.
pgpbv5ppuzAqC.pgp
Description: Digitale Signatur von OpenPGP