Hello,

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
running standalone.

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 including VTK); it shows
following error:


>  CMake Error at
C:/VisLibs/ITK4/InsightToolkit-4.13.0-build/ITKTargets.cmake:37 (message):
>  Some (but not all) targets in this export set were already defined.
>  Targets 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):
>  C:/VisLibs/ITK4/InsightToolkit-4.13.0-build/ITKConfig.cmake:64 (include)
>  CMakeLists.txt:758 (find_package)
>
>
>-- Configuring incomplete, errors occurred!
>See also
"C:/VisLibs/MITK2016/MITK-build/MITK-build/CMakeFiles/CMakeOutput.log".
>C:\Program Files (x86)\Microsoft Visual
Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5):
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?

Thanks
Norbert


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to