Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdcmSerieHelper.h not found on Ubuntu 18.04 despite ITKGDCM module enabled #1493

Open
KrisThielemans opened this issue Dec 15, 2019 · 0 comments
Open
Labels

Comments

@KrisThielemans
Copy link

@KrisThielemans KrisThielemans commented Dec 15, 2019

Description

Installing ITK 5.0.1 via conda leads to a compilation problem when using gdcm IO despite a system gdcm being present. See conda-forge/libitk-feedstock#42

This seems to say that in whatever way ITK was built for conda, it doesn't find the system GDCM. Nevertheless, /home/sirfuser/miniconda3/lib/cmake/ITK-5.0/ITKConfig.cmake sets ITK_MODULES_ENABLED to include ITKGDCM.

Steps to Reproduce

conda install libitk-dev
sudo apt install libgdcm2-dev
git clone https://github.com/UCL/STIR.git
mkdir build; cd build; cmake ../STIR; make

Actual behavior

output

In file included from /home/sirfuser/devel/STIR/src/IO/ITKImageInputFileFormat.cxx:41:0:
/home/sirfuser/miniconda3/include/ITK-5.0/itkGDCMSeriesFileNames.h:25:10: fatal error: gdcmSerieHelper.h: No such file or directory
 #include "gdcmSerieHelper.h"
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

This is despite /usr/include/gdcm-2.8/gdcmSerieHelper.h existing.

Reproducibility

always

Versions

5.0.1

Environment

Ubuntu 18.04, cmake version 3.13.1

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.