as Dzenan suggests in the mailing list, i write my question here to possibly get more attention or answers
Original post on mailing list:
I tried to build MITK (v2016.11) from source with external VTK (v8.1.0)
and external ITK (v4.13.0) on Windows 10 with MVSC 15 2017 Win64. ITK,
VTK and Qt is built with the same compiler (and so on) and works fine
Additionaly i added the paths to the .dll’s to the Windows system path before.
So, the MITK build went fine (except for a few warnings) until it
searches for ITK (i suppose it doesnt reached VTK settings); it shows
CMake Error at
Some (but not all) targets in this export set were already defined.
gdcmCommon; gdcmDICT; gdcmDSED; gdcmIOD; gdcmMEXD; gdcmMSFF;
gdcmcharls; gdcmjpeg12; gdcmjpeg16; gdcmjpeg8; hdf5-static; hdf5_cpp-static
Targets not yet defined:
itkdouble-conversion; itksys; itkvcl; itkv3p_netlib; itktestlib;
itkvnl; itkvnl_algo; itknetlib; ITKVNLInstantiation; ITKCommon;
itkNetlibSlatec; ITKStatistics; ITKTransform; ITKLabelMap; ITKMesh;
itkzlib; ITKMetaIO; ITKSpatialObjects; ITKPath; ITKQuadEdgeMesh;
ITKIOImageBase; ITKOptimizers; ITKPolynomials; ITKBiasCorrection;
ITKBioCell; ITKDICOMParser; ITKEXPAT; ITKIOXML; ITKIOSpatialObjects;
ITKFEM; itkgdcmopenjp2; gdcmsocketxx; ITKznz; ITKniftiio; ITKgiftiio;
GTest::GTest; GTest::Main; ITKIOBMP; ITKIOBioRad; ITKIOBruker; ITKIOCSV;
ITKIOGDCM; ITKIOIPL; ITKIOGE; ITKIOGIPL; ITKIOHDF5; itkjpeg; ITKIOJPEG;
itktiff; ITKIOTIFF; ITKIOLSM; itkminc2 //[… and so on]
Call Stack (most recent call first):
– Configuring incomplete, errors occurred!
C:\Program Files (x86)\Microsoft Visual
error MSB6006: “cmd.exe” exited with code 1.
Done building project “MITK-Configure.vcxproj” – FAILED.
So, somehow it cannot include all the ITK libraries. Path to
ITKConfig.cmake is well set as i see. Any ideas how to solve this? Is
this a problem related to the CMake files of MITK or should i apply some
additional configuration to the ITK build?