Hi Norbert, Seeing as ITK 4.13 was only released last December, MITK v2016.11 might not support it (We have not updated the current master to ITK 4.13 yet, so I could not say if there are major issues). What you are reporting is probably due to some CMake flags missing. If you need to use the current ITK, you might want to at least build the superbuild version once to compare the CMake settings.
Best, Caspar -----Ursprüngliche Nachricht----- Von: Norbert Martin Lang [mailto:[email protected]] Gesendet: Donnerstag, 25. Januar 2018 17:58 An: [email protected] Betreff: [mitk-users] Build Error MITK 2016.11: ITK targets not defined 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 [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
