enblend compilation on debian testing

33 views
Skip to first unread message

Wirz

unread,
Apr 23, 2018, 3:39:48 PM4/23/18
to hugin and other free panoramic software
Hi,

I'm currently failing to compile enblend (1516) on debian testing (with
g++ 7.3). As far as I can say the actual problem is in the vigra header
files which use some deprecated features (vigra itself warns about that
but does not fail):

[ 26%] Building CXX object src/CMakeFiles/enfuse.dir/enfuse.cc.o
In file included from /usr/include/vigra/stdconvolution.hxx:43:0,
from /usr/include/vigra/convolution.hxx:41,
from /usr/src/pano/enblend_hg/src/openmp_vigra.h:32,
from /usr/src/pano/enblend_hg/src/enblend.h:41,
from /usr/src/pano/enblend_hg/src/enblend.cc:197:
/usr/include/vigra/separableconvolution.hxx:1413:13: error: ISO C++1z
does not allow dynamic exception specifications
throw(PreconditionViolation)
^~~~~
Do we wait for vigra to fix this, or should we use an older C++ standard
where this is not an error yet?

Less importantly, CMakeModules/FindOptional.cmake does not work in
debian testing. "/usr/include/boost" should be added to the paths to be
checked, then it works.

cheers, lukas

--
Do not believe the naysayers who say it cannot be done.

signature.asc
Reply all
Reply to author
Forward
0 new messages