[ITK] [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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list