[Insight-users] System GDCM + VTK +ITK

John Drescher drescherjm at gmail.com
Thu Oct 27 15:54:06 EDT 2011


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


More information about the Insight-users mailing list