Hi Stefan,
Thank you for the hints. MITK-configure indeed fails. The CMake logs
give me this error:
CMake Error at Modules/Core/CMakeLists.txt:34 (message):
Core target MitkCore does not exist
CMake Error at Modules/Core/CMakeLists.txt:54 (target_compile_definitions):
Cannot specify compile definitions for target "MitkCore" which is not built
by this project.
Call Stack (most recent call first):
Modules/Core/CMakeLists.txt:57 (_itk_create_factory_register_manager)
CMake Error at Modules/Core/CMakeLists.txt:60 (target_link_libraries):
Cannot specify link libraries for target "MitkCore" which is not built by
this project.
I can't find anything in the CMake options that could help fixing this
error though. Do you have any idea? Thanks for the help.
Le 21/01/2019 à 23:02, Dinkelacker, Stefan a écrit :
Hi, this usually means that one or more projects did not built successfully
before MITK-build. At this state It is likely that it is MITK-configure. This
project basically runs CMake to configure MITK. You can also do this manually
and easily see what the actual problem is. When opening CMake GUI and change
the the build directory from D:/your/path/MITK-superbuild to
D:/your/path/MITK-superbuild/MITK-build, the variables you see should change
from the superbuild configuration to the MITK configuration. Click on
Configure/Generate and wait until it fails. Note that this output should also
already be available in the superbuild solution when the build fails and you
scroll up in the output Window. However, I prefer the former way as you can
immediately change the configuration to fix the problem. After the
configuration is complete, you can open MITK.sln instead of MITK-superbuild.sln
and build MITK itself.
________________________________________
Von: Pierre-Jean Petitprez <pierre-jean.petitp...@hrv-simulation.com>
Gesendet: Montag, 21. Januar 2019 18:40
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] Issues when compiling MITK on MSVC2017
Hi everyone,
I encounter some issues when trying to compile MITK (2018.04, but it
also happens with the latest version on git/master) on Windows 10 with
Visual Studio 2017 (version 15.9.5). The Superbuild fails when trying to
compile MITK-build with this error:
MSB1009 : Project file does not exist.
I can't find any reason in the logs why this happens. Has anybody any
clue of why this issue happens and how to fix the build?
Thank you,
Kind regards
Pierre
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users