[ITK] [ITK-dev] ITK changes VTK_LIBRARIES?

Jian Cheng jian.cheng.1983 at gmail.com
Thu Mar 12 19:56:24 EDT 2015


Hi Matt,

Great! I just tried VTK 6.2.0. It works now.
Thank you for your help!

best,
Jian Cheng

On 03/12/2015 07:31 PM, Matt McCormick wrote:
> Hi Jian,
>
> Please use the recently released VTK 6.2.0 where this issue has been addressed.
>
> Thanks,
> Matt
>
> On Thu, Mar 12, 2015 at 5:44 PM, Jian Cheng <jian.cheng.1983 at gmail.com> wrote:
>> Hi,
>>
>> The the recent release of ITK may changes VTK_LIBRARIES, when I build
>> ITK with VTK, i.e. set on Module_ITKVtkGlue or Module_WikiExamples.
>> Please see the attached toy example, and check if the issue can be
>> reproduced on your side. Thanks.
>> I am using ITK 4.7.1, VTK 6.1.0, cmake 2.8.12.2.
>> If I build ITK with VTK, VTK_LIBRARIES will be changed to
>> VTK_LIBRARIES=vtkCommonCore;vtksys , even if I find ITK first before I
>> find VTK.
>> If I build ITK without VTK, everything is fine.
>> A workaround is to find VTK first, then copy VTK_LIBRARIES to a
>> variable, then find ITK and copy VTK_LIBRARIES back.
>>
>> best,
>> Jian Cheng
>>
>> _______________________________________________
>> 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
>>
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/mailman/listinfo/community
>>

_______________________________________________
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