Hi,

I recommend to clone the releases/2018-04 branch from

https://phabricator.mitk.org/source/mitk.git

This branch is based on the last release but has some fixes for updated tools 
and Qt versions. In general I recommend to to use the latest minor releases of 
Qt, in your case 5.12.8 instead of 5.12.0. In case of VS 2017 make sure to 
select the Win64/x64 Generator/platform when configuring MITK for the first 
time.


Best regards,

Stefan

________________________________
Von: ☜轻风☞ <james_james...@qq.com>
Gesendet: Samstag, 6. Juni 2020 09:44
An: mitk-users
Betreff: [mitk-users] build mitk2018 failed

hi, everyone

I have download the MITK-v2018.04.2-src.zip and tried build it, but it failed.


This is my running environment:
windows10 64bit
qt 5.12.0
vs2017
cmake 3.10.0


the error info:

       CMake Error at CMake/mitkMacroInstallTargets.cmake:23 
(get_target_property):
20>  get_target_property() called with non-existent target "MitkImageResampler".
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:59 (install):
20>  install TARGETS given target "MitkImageResampler" which does not exist in
20>  this directory.
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:23 (get_target_property):
20>  get_target_property() called with non-existent target "MitkCopyGeometry".
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:59 (install):
20>  install TARGETS given target "MitkCopyGeometry" which does not exist in
20>  this directory.
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:23 (get_target_property):
20>  get_target_property() called with non-existent target "MitkRegistration".
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:59 (install):
20>  install TARGETS given target "MitkRegistration" which does not exist in
20>  this directory.
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:23 (get_target_property):
20>  get_target_property() called with non-existent target
20>  "MitkDiffusionDICOMLoader".
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:59 (install):
20>  install TARGETS given target "MitkDiffusionDICOMLoader" which does not
20>  exist in this directory.
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:23 (get_target_property):
20>  get_target_property() called with non-existent target
20>  "MitkResampleGradients".
20>Call Stack (most recent call first):
20>  CMake/mitkFunctionCreateCommandLineApp.cmake:55 (MITK_INSTALL_TARGETS)
20>  Modules/DiffusionImaging/DiffusionCore/cmdapps/CMakeLists.txt:34 
(mitkFunctionCreateCommandLineApp)
20>
20>
20>CMake Error at CMake/mitkMacroInstallTargets.cmake:59 (install):
20>  install TARGETS given target "MitkResampleGradients" which does not exist
20>  in this directory.


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to