[Insight-users] Problem ITK and GDCM in the same script

Luis Ibanez luis.ibanez at kitware.com
Fri Mar 26 14:51:58 EDT 2010


Eduardo,

If I understand correctly:

1) In GDCM you are enabling the use of ITK, and

2) In ITK you are enabling the use of an external GDCM.


If this is the case,

I would suggest that you do only (2) and do not do (1).


     Regards,


            Luis


------------------------------------------------------------------------
On Fri, Mar 26, 2010 at 4:12 AM,  <edoardo.belletti at alice.it> wrote:
> I have turned ON the CMake variable GDCM_USE_ITK buti the output is:
>
>  CMake Error at CMakeLists.txt:486 (MESSAGE):
>    Do not use, instead prefer: ITK_USE_SYSTEM_GDCM, that was added after ITK
>    3.8
>
>
> Thank you
> best regards
> Edoardo
>
>
> ==============================================
> -----Messaggio originale-----
> Da: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Inviato: gio 25/03/2010 23.29
> A: edoardo.belletti at alice.it
> Cc: ITK_forum
> Oggetto: Re: [Insight-users] Problem ITK and GDCM in the same script
>
> Hi Edoardo,
>
>
> When you configured ITK itself,
> did you set it up to use a System_GDCM ?
>
> e.g. did you turned ON the CMake variable:
>
>                ITK_USE_SYSTEM_GDCM
>
>
> and if so,
> did you pointed ITK to your build of GDCM 2.0 ?
>
>
> If you did so, then you don't need to add any
> search for GDCM to the CMakeLists.txt file
> of your project. You should get the GDCM
> configuration through ITK.
>
>
>
> You seem to be providing GDCM twice,
> and probably in an inconsistent way.
>
>
>   Please let us know,
>
>
>           Thanks
>
>
>               Luis
>
>
>


More information about the Insight-users mailing list