Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
Performing Test HAS_FLAG_-std=c14
Performing Test HAS_FLAG_-std=c14 - Failed
> Forcing MITK_USE_HDF5 to ON because of MITK_USE_ITK
> Forcing MITK_USE_Qt5 to ON because of MITK_USE_CTK
> Forcing MITK_USE_DCMTK to ON because of MITK_USE_CTK
------- Using build configuration "Minimal" -------
While I was trying to execute your recommendation with the following options:MITK_WHITELIST: Minimal
MITK_BUILD_CONFIGURATION: Minimal
I realized that CMake is forcing 2 other modules that I am not sure I really need which makes me wonder how can I get rid of those 2 dependencies. I am talking about DCMTK and HDF5 which I didn't researched long enough. Isn't it a bottleneck to have those 2 other dependencies necessary to build a mininmal MITK setup?
I would have presumed that a minimal setup would have no intrinsic dependencies to any other part other than BlueBerry, CTK, Qt5 & CppMicroServices which are my requirements. If of course I would like to make other MITK bundles available in my UI I could add them (dlls&so) independently inside of the plugins folder which will be handled automatically by BlueBerry and CTK/CppMicroServices.
I am a bit confused because I don't want to go in the scientific application direction but rather develop a multimedia application like a video editing system & online video player.
What do you think? How could we get rid of those dependencies?
09.09.2020, 12:37, "Ramazan Ergüder Bekrek" <e.bek...@yandex.com>:Greetings dear Dr. Dinkelacker,First I would like to thank you for your quick answer. Yesterday I took the time to go deeper trying to understand how that beast of MITK is working. I realized that it uses the same file structure as the CTK tutorials. I figured out the way I want to go but I am not 100% certain if it's the right path choice. Maybe we should discuss more about it to collaborate on the best design decision.So I wanted to use for certainty CppMicroServices for the OSGi part. I wanted also for sur to use BlueBerry on top of CppMicroServices to have the same development flow as Eclipse OSGi for UI & plug-in development. I've looked at how the documentation is and if it is up to date. I found out the CTK web site with not so complete documentation. On the other hand when I've read MITK's documentation I quickly started to feel like home. I am also using VCPKG and I found out that neither BlueBerry, CTK or MITK being there.So what I want is just one application container which is totally naked and supporting all of the previous mentioned aspects. I want the main application and its UI to be all OSGi bundles all managed automatically by the OSGi+Eclipse kind of way.I've looked at MITK's source code and it's huge. What would be the benefits with going that route? Can you give concrete technical and other benefits that would be good to use for my naked app on top of MITK instead of CTK.Best regards.I am now really confused because of the lack of documentation or old documentation.,,
04:07, September 9, 2020, "Dinkelacker, Stefan" <s.dinkelac...@dkfz-heidelberg.de>:Hi,
there are several ways of using MITK. On the most basic level, you have to decide if you want to MITK as a toolkit or as framework.
Toolkit means that you use MITK just like any other bunch of libraries and depend on MITK libraries/modules in your CMake-based project with target_link_libraries(). This is the most general approach and usually chosen by developers who just want to use the algorithmic part of MITK in their completely own GUI (or non-GUI) applications. Note that you can switch off BlueBerry, CTK, and even Qt5 to just build the parts of MITK you need. A good starting point is to build the absolute minimum of MITK by setting the following (advanced) CMake variables in the MITK-superbuild and then add the parts of MITK you need as you go on:
MITK_WHITELIST: Minimal
MITK_BUILD_CONFIGURATION: Minimal
Framework means that you stick to the conventions of MITK and use all the CMake functionailty of MITK to create new modules, plugins, and applications. As an advantage you can rely on a ton of mainly GUI and application-infrastructure-related code to get things done. You can also use plugins like Image Statistics or Segmentation. The recommended "framework" way is to start with the MITK-ProjectTemplate [1] as a template for your own repository and write your modules, plugins, and applications this way. For the start you can just use the MITK Workbench application as a host for your components but you are not restricted to do so. Check the BlueBerryExample launcher application for examples on writing your completely custom applications that are still based on BlueBerry though.
It's hard to recommend the right way for your project without knowing any details but if you are already determinied to write your own GUI and you do not want to use CTK or BlueBerry (and hence none of our plugins/views) you probably want to go full custom with the toolkit approach. From our experience we can say that quite a few developers started this way without noticing all the benefits of the framework approach as there are literally hundreds of thousands lines of code dealing with a lot of complexity you would otherwise have to handle yourself (at the cost of a certain overhead of course). Some developers also did not recognize the possibility to create BlueBerry applications with a nearly completely custom look and feel. All approaches are valid approaches and in the end you have to decide what's best in your project's context.
Best,
Stefan
[1] https://github.com/MITK/MITK-ProjectTemplate
Von: Ramazan Ergüder Bekrek <e.bek...@yandex.com>
Gesendet: Dienstag, 8. September 2020 17:27
An: mitk-users@lists.sourceforge.net
Betreff: Re: [mitk-users] Is there any template project that have the foundation to build a modular application with Qt?I found out this tutorial but I don't know how actual it is and unfortunately it only does covers CTK and not other frameworks that I need.Could someone confirm that this is still valid or should I just ignore this tutorial?Best Regards
08.09.2020, 16:16, "Ramazan Ergüder Bekrek" <e.bek...@yandex.com>:I found out this tutorial but I don't know how actual it is and unfortunately it only does covert CTK and not other frameworks that I need.Could someone confirm that this is still valid or should I just ignore this tutorial?Best Regards
08.09.2020, 16:13, "Ramazan Ergüder Bekrek" <e.bek...@yandex.com>:,,I also want to share the fact that there is now a discord server for everything OSGi related.There are also sub-channels regarding BlueBerry, CppMicroServices, CTK, OSGi in Java,Python,Actionscript and also Qt.This is the invitation link and I welcome everyone who is willing to expand and share their knowledge of theses platforms.Best Regards
08.09.2020, 14:00, "Ramazan Ergüder Bekrek" <e.bek...@yandex.com>:,,Hi it is been since few days I am trying to figure out how to use the combination of BlueBerry, CTK, CppMicroservice, Qt5 & CMake
to have a solid foundation without all the MITK framework and all its components to start my own project.
I have installed MITK to see how it look on the UI with all the modular aspect and actually what I am trying to achieve this:
I would like to have a naked MITK like main windows without any components on the UI and built from that on top by my own UI bundles.
When I digged inside of the CMake structure and code I just became owerwhelmed and scared. It seems that BlueBerry is an integrated
part of MITK and not a totally independant project which has a vcpkg port like dcmtk, gdcm, cppmicroservice, qt5.
I also realized that CTK is also like the previously mentioned fact and is missing on vcpkg...
How do I setup a CMake foundation if some parts of the MITK are not reachable by vcpkg and I need them for example like:
find_package(CTK REQUIRED)
find_package(BlueBerry REQUIRED)
find_package(CppMicroServices REQUIRED)
Plug how to I setup my CMake to take advantage of all the CTK, BlueBerry, CppMicroService functions and macros to respect
the best practice structure pattern for my own bundles and the structure of my project? I am aware that there is a CMake and CMakeExternals folders
in the root of the project. Can I just take those 2 folder and copy it inside of my own project folder and will it work with CMake?
So the briefly resume my situation how do I setup either a dummy CMake template or make it work with an alternative.
Best Regards
_______________________________________________
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
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users
--
Sent from Yandex.Mail for mobile_______________________________________________
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