[Insight-users] System GDCM + VTK +ITK
Bill Lorensen
bill.lorensen at gmail.com
Fri Oct 28 08:35:52 EDT 2011
John,
Are you building your own app, or is the ITK build itself failing?
Looking at the cmake failure, it should only be defining vtkmetaio if
VTK_SOURCE_DIR is defined. But building of ITK does not set VTK_SOURCE_DIR.
Bill
On Thu, Oct 27, 2011 at 3:54 PM, John Drescher <drescherjm at gmail.com> wrote:
> I am testing itk-3.20.1 with system gdcm-2.0.18 for both itk and vtk.
> I got vtk to build and GDCM to build but when I go to configure itk I
> am getting the following error (which I thought was fixed in git):
>
> x:\64bitGDCMTest\Libraries\ITK-3.20.1>cmake
> x:/CMakeBased/Libraries/InsightToolkit-3.20.1
> CMake Error at Utilities/MetaIO/CMakeLists.txt:35 (ADD_LIBRARY):
> add_library cannot create target "vtkmetaio" because an imported target
> with the same name already exists.
>
>
> CMake Error at Utilities/MetaIO/CMakeLists.txt:81 (TARGET_LINK_LIBRARIES):
> Cannot specify link libraries for target "vtkmetaio" which is not built by
> this project.
>
>
> -- Configuring incomplete, errors occurred!
>
> This is under VS2010 x64 under windows 7 and cmake-2.8.6.
>
> John
> _____________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111028/4013af03/attachment.htm>
More information about the Insight-users
mailing list