[ITK-dev] Module_ITKIOGDCM:INTERNAL=OFF

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Sep 4 03:55:52 EDT 2015


Dear all,

My goal is to be able to compile ITK without the GDCM module.

Long story short, GDCM toolkit is not being mangled, which means very
complex build setup to be able to use GDCM and ITK in an application.

So far I have tried setting:

Module_ITKIOGDCM:INTERNAL=OFF

with no luck

I suspect that GDCM is activated by ITK_BUILD_DEFAULT_MODULES, so I tried:

$ cmake -DITK_BUILD_DEFAULT_MODULES:BOOL=OFF

this leads to:

-- Check if the system is big endian - little endian
CMake Error at Examples/CMakeLists.txt:2 (message):
  BUILD_EXAMPLES requires ITK_BUILD_DEFAULT_MODULES to be ON


-- Configuring incomplete, errors occurred!


Later I tried:

$ cmake -DITK_BUILD_DEFAULT_MODULES:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF ..

which states:

-- Enabled ITKIOGDCM, needed by [ITKTestKernel].
and
-- Enabled ITKTestKernel, needed by [ITKGroup_Core].


However I do not want to set -DITKGroup_Core:BOOL=OFF (obvisouly).

Is there any particular reason to have GDCM be part of the core group ?



Thanks,
-- 
Mathieu


More information about the Insight-developers mailing list