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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/20191122005758.60f2c8a6%40admin1-desktop.
pgpX_nUyavDvC.pgp
Description: Digitale Signatur von OpenPGP
