UCL / PETPVC

Partial Volume Correction in PET
Apache License 2.0
51 stars 14 forks source link

Issue while building and installing PETPVC #45

Closed aabdalle closed 5 years ago

aabdalle commented 5 years ago

Hello,

I have been trying to install the PETPVC toolbox. I am following the steps on the page.

When I run the make command, I get an error Here is the error log:

[ 15%] Building CXX object src/CMakeFiles/pvc_rl.dir/RichardsonLucy.cxx.o In file included from /usr/local/include/ITK-5.0/metaCommand.h:12:0, from /home/aa/PETPVC/src/RichardsonLucy.cxx:34: /usr/local/include/ITK-5.0/metaTypes.h:12:36: fatal error: localMetaConfiguration.h: No such file or directory compilation terminated. src/CMakeFiles/pvc_rl.dir/build.make:62: recipe for target 'src/CMakeFiles/pvc_rl.dir/RichardsonLucy.cxx.o' failed make[2]: [src/CMakeFiles/pvc_rl.dir/RichardsonLucy.cxx.o] Error 1 CMakeFiles/Makefile2:210: recipe for target 'src/CMakeFiles/pvc_rl.dir/all' failed make[1]: [src/CMakeFiles/pvc_rl.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2

I am running Ubuntu 16.04, CMake 3.13.3

Thanks

aabdalle commented 5 years ago

Hello,

I switched to ITK 4.13.1. I believe I enabled the Module ITK Review ( i ran the command cmake ITKReview=ON /path/to bin). I have made some progress in installing the toolbox, but it is stuck at 96%

Here is the error log:

[ 6%] Built target pvc_rl [ 31%] Built target pvc_mtc [ 12%] Built target pvc_vc [ 18%] Built target pvc_labbe [ 25%] Built target pvc_createTestImage [ 37%] Built target pvc_compareImages [ 40%] Building CXX object src/CMakeFiles/pvc_make4d.dir/Make4D.cxx.o [ 53%] Built target pvc_diy [ 46%] Built target pvc_mg [ 59%] Built target pvc_iy [ 65%] Built target pvc_simulate [ 71%] Built target pvc_stc [ 78%] Built target petpvc [ 84%] Built target pvc_rbv [ 96%] Built target pvc_relabel [ 90%] Built target pvc_gtm /home/aa/PETPVC/src/Make4D.cxx:33:41: fatal error: itkLabelGeometryImageFilter.h: No such file or directory compilation terminated. src/CMakeFiles/pvc_make4d.dir/build.make:62: recipe for target 'src/CMakeFiles/pvc_make4d.dir/Make4D.cxx.o' failed make[2]: [src/CMakeFiles/pvc_make4d.dir/Make4D.cxx.o] Error 1 CMakeFiles/Makefile2:469: recipe for target 'src/CMakeFiles/pvc_make4d.dir/all' failed make[1]: [src/CMakeFiles/pvc_make4d.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2