[Insight-developers] [Insight-users] CMake config problem: ITK + GDCM 2 + VTK
Bill Lorensen
bill.lorensen at gmail.com
Sat Jul 17 10:35:10 EDT 2010
Hmmm... that happened to me too.
Why haven't we fixed this?
Bill
On Sat, Jul 17, 2010 at 8:47 AM, Karthik Krishnan
<karthik.krishnan at kitware.com> wrote:
> Known issue.. See this
>
> http://www.itk.org/pipermail/insight-users/2010-June/037360.html
>
> and
>
> http://www.itk.org/pipermail/insight-users/2010-July/037404.html
>
> I think the consensus is to downgrade to CMake 2.6 from Cmake 2.8
>
>
> On Sat, Jul 17, 2010 at 3:25 PM, Roger Bramon Feixas <rogerbramon at gmail.com>
> wrote:
>>
>> Hi,
>> I have the same problem reported in this
>> thread: http://www.itk.org/pipermail/insight-users/2010-March/035903.html,
>> but any solution was published. I would like to continue the discussion.
>> I'm trying to compile ITK 3.18 with GDCM 2.0.15. I compiled correctly GDCM
>> 2.0.15 with VTK 5.6 but when I set to 1 the ITK_USE_SYSTEM_GDCM option this
>> CMake message error appears:
>> CMake Error at Utilities/MetaIO/CMakeLists.txt:104 (INSTALL):
>> install TARGETS given no LIBRARY DESTINATION for shared library target
>> "vtkmetaio".
>>
>> In the mentioned thread, Brad King proposed a test:
>> "
>> Edit ITK/Utilities/MetaIO/CMakeLists.txt to add some message()-s
>> in this top block:
>> IF(VTK_VERSION)
>> SET(METAIO_FOR_VTK 1)
>> MARK_AS_ADVANCED( METAIO_FOR_VTK )
>> SET(METAIO_NAMESPACE "vtkmetaio")
>> MESSAGE(FATAL_ERRORO "ITK IS NOT VTK!") # ADD THIS LINE
>> ELSE(VTK_VERSION)
>> ...
>> ENDIF(VTK_VERSION)
>> Does CMake hit this? Are you pointing ITK at a VTK? "
>> I tested it, and yes, CMake hits this.
>> Anyone have any suggestion?
>> Thanks,
>> Roger
>> _____________________________________
>> 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://www.kitware.com/products/protraining.html
>>
>> 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://www.itk.org/mailman/listinfo/insight-users
>>
>
>
> _____________________________________
> 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://www.kitware.com/products/protraining.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-developers
mailing list