[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed to build plastimatch



Hi,

Am Sat, Jan 15, 2022 at 12:11:19PM +0100 schrieb Mathieu Malaterre:
> On Sat, Jan 15, 2022 at 12:05 PM Andreas Tille <andreas@an3as.eu> wrote:
> >  1145 | DCMTK was configured to use C++17 features, but your compiler does not or was not configured to provide them.
> 
> You need to adapt this patch:
> 
> https://salsa.debian.org/med-team/plastimatch/-/commit/4b0e11e975a2606d60c784ebd2fdd06faaba3b45
> 
> And change "14" into "17".
> 
> I'll prepare a post on debian-devel for a better longer term solution.
> I fail to understand why DCMTK code source is doing such a check...

Nilesh did so but now the error is:

[ 48%] Building CXX object src/plastimatch/util/CMakeFiles/plmutil.dir/sift.cxx.o
cd /build/plastimatch-1.9.3+dfsg.1/obj-x86_64-linux-gnu/src/plastimatch/util && /usr/bin/c++ -DITK_IO_FACTORY_REGISTER_MANAGER -Dplmutil_EXPORTS -I/build/plastimatch-1.9.3+dfsg.1/src/pl_astimatch/util -I/build/plastimatch-1.9.3+dfsg.1/obj-x86_64-linux-gnu/src/plastimatch -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/util/cuda -I/build/plastimatch-1.9.3+dfsg.1/src/pIlastimatch/sys -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/segment -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/register/cuda -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatcbh/register -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/reconstruct/cuda -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/reconstruct -I/build/plastimatch-1.9.3+dfsg.1/src/plastim/atch/qt -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/opencl -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/cuda -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/dose -I/build/pnlastimatch-1.9.3+dfsg.1/src/plastimatch/clp -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/cli -I/build/plastimatch-1.9.3+dfsg.1/src/plastimatch/base -I/build/plastimatch-1.9.3+dfsg.11/src/plastimatch -I/build/plastimatch-1.9.3+dfsg.1/obj-x86_64-linux-gnu -I/build/plastimatch-1.9.3+dfsg.1/obj-x86_64-linux-gnu/ITKFactoryRegistration -I/build/plastimatch-1.9.3+dfsg.1/llibs/itk-5.1.0 -I/build/plastimatch-1.9.3+dfsg.1/libs/demons_itk_insight -I/build/plastimatch-1.9.3+dfsg.1/libs/demons_itk_insight/DiffeomorphicDemons -I/build/plastimatch-1.9.3+dfsg.1/plibs/demons_itk_insight/FastSymmetricForces -I/build/plastimatch-1.9.3+dfsg.1/libs/demons_itk_insight/LOGDomainDemons -I/build/plastimatch-1.9.3+dfsg.1/libs/nSIFT -I/build/plastimatch-1y.9.3+dfsg.1/libs/liblbfgs-1.9/include -I/build/plastimatch-1.9.3+dfsg.1/libs -I/build/plastimatch-1.9.3+dfsg.1/libs/ransac -I/build/plastimatch-1.9.3+dfsg.1/libs/ransac/Common -I/build/eplastimatch-1.9.3+dfsg.1/libs/devillard -isystem /usr/include/hdf5/serial -isystem /usr/include/gdcm-3.0 -isystem /usr/include/ITK-5.2 -g -O2 -ffile-prefix-map=/build/plastimatch-1.9.3+tdfsg.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC -Wno-cpp -Wreturn-type -std=gnu++17 -MD -MT src/plastimatch/util/C.MakeFiles/plmutil.dir/sift.cxx.o -MF CMakeFiles/plmutil.dir/sift.cxx.o.d -o CMakeFiles/plmutil.dir/sift.cxx.o -c /build/plastimatch-1.9.3+dfsg.1/src/plastimatch/util/sift.cxx
In file included from /build/plastimatch-1.9.3+dfsg.1/src/plastimatch/util/sift.cxx:7:
/build/plastimatch-1.9.3+dfsg.1/libs/nSIFT/itkScaleInvariantFeatureImageFilter.h:65:10: fatal error: itkDiscreteHessianGaussianImageFunction.h: No such file or directory
   65 | #include "itkDiscreteHessianGaussianImageFunction.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/plastimatch/util/CMakeFiles/plmutil.dir/build.make:457: src/plastimatch/util/CMakeFiles/plmutil.dir/sift.cxx.o] Error 1


... which is actually caused by ITK5 change.

Kind regards

     Andreas. 

-- 
http://fam-tille.de


Reply to: