<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Norbert,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">it is more likely to be due to MITK configuration. We have switched to <a href="https://discourse.itk.org/">Discourse</a> forum. Reposting the question there might yield more answers.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 8:03 AM, Norbert Martin Lang <span dir="ltr"><<a href="mailto:norbert.lang@live.de" target="_blank">norbert.lang@live.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I already posted this on the MITK mailing list but still got no answer.<br>
So I will try it here.<br>
<br>
I tried to build MITK (v2016.11) from source with external VTK (v8.1.0)<br>
and external ITK (v4.13.0) on Windows 10 with MVSC 15 2017 Win64. ITK,<br>
VTK and Qt is built with the same compiler (and so on) and works fine<br>
running standalone.<br>
<br>
Additionaly i added the paths to the .dll's to the Windows system path<br>
before.<br>
<br>
So, the MITK build went fine (except for a few warnings) until it<br>
searches for ITK (i suppose it doesnt reached VTK settings); it shows<br>
following error:<br>
<br>
<br>
>  CMake Error at<br>
C:/VisLibs/ITK4/<wbr>InsightToolkit-4.13.0-build/<wbr>ITKTargets.cmake:37 (message):<br>
>  Some (but not all) targets in this export set were already defined.<br>
>  Targets Defined:<br>
> gdcmCommon; gdcmDICT; gdcmDSED; gdcmIOD; gdcmMEXD; gdcmMSFF;<br>
gdcmcharls; gdcmjpeg12; gdcmjpeg16; gdcmjpeg8; hdf5-static; hdf5_cpp-static<br>
><br>
>  Targets not yet defined:<br>
>  itkdouble-conversion; itksys; itkvcl; itkv3p_netlib; itktestlib;<br>
itkvnl; itkvnl_algo; itknetlib; ITKVNLInstantiation; ITKCommon;<br>
itkNetlibSlatec; ITKStatistics; ITKTransform; ITKLabelMap; ITKMesh;<br>
itkzlib; ITKMetaIO; ITKSpatialObjects; ITKPath; ITKQuadEdgeMesh;<br>
ITKIOImageBase; ITKOptimizers; ITKPolynomials; ITKBiasCorrection;<br>
ITKBioCell; ITKDICOMParser; ITKEXPAT; ITKIOXML; ITKIOSpatialObjects;<br>
ITKFEM; itkgdcmopenjp2; gdcmsocketxx; ITKznz; ITKniftiio; ITKgiftiio;<br>
GTest::GTest; GTest::Main; ITKIOBMP; ITKIOBioRad; ITKIOBruker; ITKIOCSV;<br>
ITKIOGDCM; ITKIOIPL; ITKIOGE; ITKIOGIPL; ITKIOHDF5; itkjpeg; ITKIOJPEG;<br>
itktiff; ITKIOTIFF; ITKIOLSM; itkminc2 //[... and so on]<br>
><br>
>Call Stack (most recent call first):<br>
>  C:/VisLibs/ITK4/<wbr>InsightToolkit-4.13.0-build/<wbr>ITKConfig.cmake:64 (include)<br>
>  CMakeLists.txt:758 (find_package)<br>
><br>
><br>
>-- Configuring incomplete, errors occurred!<br>
>See also<br>
"C:/VisLibs/MITK2016/MITK-<wbr>build/MITK-build/CMakeFiles/<wbr>CMakeOutput.log".<br>
>C:\Program Files (x86)\Microsoft Visual<br>
Studio\2017\Community\Common7\<wbr>IDE\VC\VCTargets\Microsoft.<wbr>CppCommon.targets(171,5):<br>
error MSB6006: "cmd.exe" exited with code 1.<br>
>Done building project "MITK-Configure.vcxproj" -- FAILED.<br>
<br>
So, somehow it cannot include all the ITK libraries. Path to<br>
ITKConfig.cmake is well set as i see. Any ideas how to solve this? Is<br>
this a problem related to the CMake files of MITK or should i apply some<br>
additional configuration to the ITK build?<br>
<br>
Thanks<br>
Norbert<br>
The ITK community is transitioning from this mailing list to <a href="http://discourse.itk.org" rel="noreferrer" target="_blank">discourse.itk.org</a>. Please join us there!<br>
______________________________<wbr>__________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="https://itk.org/mailman/listinfo/community" rel="noreferrer" target="_blank">https://itk.org/mailman/<wbr>listinfo/community</a><br>
</blockquote></div><br></div>