[Insight-users] [Insight-developers] CMake config problem: ITK + GDCM 2 + VTK
Mathieu Malaterre
mathieu.malaterre at gmail.com
Thu Jul 22 09:45:56 EDT 2010
I reduced the issue to a 4 lines cmakelists.txt file. I sent it to the
cmake guru dev list, hopefully they'll have a solution.
I removed reference to GDCM since issue can be reproduce without it,
hopefully this will also solve the issue when GDCM is used in between
VTK and ITK.
Thanks.
On Thu, Jul 22, 2010 at 1:10 PM, Stephen Aylward
<stephen.aylward at kitware.com> wrote:
> The Use file isn't used to compile a project. The Use file is only
> used when linking with it.
>
> s
>
> On Thu, Jul 22, 2010 at 5:31 AM, Mathieu Malaterre
> <mathieu.malaterre at gmail.com> wrote:
>> On Wed, Jul 21, 2010 at 11:33 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>>
>>> It sounds like a mission for a "package manager"
>>> and an opportunity for modularizing GDCM...
>>>
>>> Maybe the piece of GDCM that depends on VTK
>>> should be a separate GDCM module
>>>
>>> Third party libraries shouldn't need to know
>>> from "where" they are used.
>>
>> Luis,
>>
>> I believe this could solve the issue for people using only GDCM. But
>> this will not solve the issue for people using VTK-GDCM, this will
>> pull in the required VTK package (in order to compile) anyway.
>> I believe the fix proposed by Karthik (and used for DICOMParser,
>> kwsys ...) is the correct way to go.
>>
>> 2cts
>> --
>> Mathieu
>>
>
>
>
> --
>
> ==============================
> Stephen R. Aylward, Ph.D.
> Director of Medical Imaging Research
> Kitware, Inc. - North Carolina Office
> http://www.kitware.com
> stephen.aylward (Skype)
> (919) 969-6990 x300
>
--
Mathieu
More information about the Insight-users
mailing list