<div><div>So I was able to convert Blueberry framework from MITK towards CTK.</div><div>I was able to successfully compile 7 out of 8 plugins and I had some issues compiling org.blueberry.ui.qt.help because there is a bug in qt5-webengine version 5.15.1.</div><div> </div><div>The link for the repo with working compilation is here : <a href="https://github.com/al-sabr/CTK/commits/ctk-blueberry-port-from-mitk" rel="noopener noreferrer">https://github.com/al-sabr/CTK/commits/ctk-blueberry-port-from-mitk</a></div><div> </div><div>I filed a ticket on github on vcpkg repository here : <a href="https://github.com/microsoft/vcpkg/issues/15712" rel="noopener noreferrer">https://github.com/microsoft/vcpkg/issues/15712</a></div><div> </div><div>I still don't understand what it is concerning but I am waiting for the fix they proposed.</div><div> </div><div>Any thought on what could be done next I'm working on this alone and I would appreciate if someone could give some inputs for guidance.</div><div> </div><div>Best Regards</div></div><div><div> </div><div> </div></div><div>18.01.2021, 13:40, "Ramazan Ergüder Bekrek" <e.bekrek@yandex.com>:</div><blockquote><div>So I was able to convert Blueberry framework from MITK towards CTK.</div><div>I was able to successfully compile 7 out of 8 plugins and I had some issues compiling org.blueberry.ui.qt.help because there is a bug in qt5-webengine version 5.15.1.</div><div> </div><div>I filed a ticket on github on vcpkg repository here : <a href="https://github.com/microsoft/vcpkg/issues/15712" rel="noopener noreferrer">https://github.com/microsoft/vcpkg/issues/15712</a></div><div> </div><div>I still don't understand what it is concerning but I am waiting for the fix they proposed.</div><div> </div><div>Any thought on what could be done next I'm working on this alone and I would appreciate if someone could give some inputs for guidance.</div><div> </div><div>Best Regards</div><div> </div><div> </div><div> </div><div>13.01.2021, 23:42, "Ramazan Ergüder Bekrek" <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer">e.bekrek@yandex.com</a>>:</div><blockquote><div>Have a look at the commits of that branch and you will get what I am talking about. If you have ideas and details you noticed I didn't take into consideration then let me know.<br /><br /><a href="https://github.com/al-sabr/CTK/commits/ctk-blueberry-port-from-mitk" rel="noopener noreferrer">https://github.com/al-sabr/CTK/commits/ctk-blueberry-port-from-mitk</a></div><div> </div><div>Best regards</div><div> </div><div> </div><div>13.01.2021, 20:48, "Ramazan Ergüder Bekrek" <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer">e.bekrek@yandex.com</a>>:</div><blockquote><div>I just started from scratch again so that you can follow what I am talking about since the beginning</div><div> </div><div><div><a href="https://github.com/al-sabr/CTK/tree/ctk-blueberry-port-from-mitk" rel="noopener noreferrer">https://github.com/al-sabr/CTK/tree/ctk-blueberry-port-from-mitk</a></div></div><div> </div><div> </div><div>13.01.2021, 18:59, "Ramazan Ergüder Bekrek" <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer">e.bekrek@yandex.com</a>>:</div><blockquote><div>Another solution could be we check inside of the code from Blueberry and remove all connection to mbilog and adapt it with the logging system from CTK just by replacing the specific lines. This is just another idea I am not sure about 100% so I would need you perspective.</div><div> </div><div> </div><div>13.01.2021, 16:52, "Alex Melville" <<a href="mailto:amelvill@umich.edu" rel="noopener noreferrer">amelvill@umich.edu</a>>:</div><blockquote><div><div>Hi Ramazan,</div><div> </div><div>I am aware of the Virtual PC option and I have several of them, but they are very very slow since Visual Studio is very very disk I/O heavy. To make things a bit more complicated, I need to run Docker on my primary dev machine (which prevents me from easily running VirtualBox) so all this would have to happen on a different PC.</div><div> </div><div>If I get time I can see what I can do, but let's be honest, this will not be an insignificant amount of effort. CMake / build scripts in general are not a super convenient thing to debug remotely.</div><div> </div><div>Did you get a chance to try my suggestion? How did it go?</div><div> </div><div>- Alex</div></div> <div><div>On Wed, Jan 13, 2021 at 10:47 AM Ramazan Ergüder Bekrek <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer">e.bekrek@yandex.com</a>> wrote:</div><blockquote style="border-left-color:rgb( 204 , 204 , 204 );border-left-style:solid;border-left-width:1px;margin:0px 0px 0px 0.8ex;padding-left:1ex"><div>I also found this link with 196 mb iso file which is stripped down version.</div><div> </div><div><div><a href="https://sites.google.com/site/tinyxpfiles/home/1" rel="noopener noreferrer" target="_blank">https://sites.google.com/site/tinyxpfiles/home/1</a></div></div><div> </div><div> </div><div>12.01.2021, 21:21, "'Ramazan Ergüder Bekrek'" <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer" target="_blank">e.bekrek@yandex.com</a>>:</div><blockquote><br />What I would recommend you to do is to install Virtual Box with Tiny Vista Images Fromm Torrents and Install it Takes 15 Minutes Thema visual Studio 2019 Community with mitk latest Version and my repo. What die you think?<div> </div><div> <div> </div><div>15:49, January 12, 2021, "<a href="mailto:amelvill@umich.edu" rel="noopener noreferrer" target="_blank">amelvill@umich.edu</a>" <<a href="mailto:amelvill@umich.edu" rel="noopener noreferrer" target="_blank">amelvill@umich.edu</a>>:<blockquote><div lang="EN-US"><div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">Hi Ramazan,</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">First, there’s one unfortunate thing I have to mention, we use a rather old version of MITK, and as a result, every PC I have that I use with MITK uses Visual Studio 2013 and there’s no way I can upgrade, and I can’t risk running a more recent version in parallel. </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">So I can give you suggestions, but unfortunately it will probably be a futile effort for me to actually try and build it. I can’t even make a fresh install of Windows, because this job has taken every PC and SSD I own, and then some (between the dev PC and my “build” PC).</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">Anyway, here is what I think about this:</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><strong><span style="font-family:'arial' , sans-serif;font-size:14pt">mbilogExports.h:</span></strong></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">mbilogExports.h is an automatically generated header that comes as part of the build process. For me this is what it contains (I found it here: MITK-superbuild\MITK-build\Utilities\mbilog\mbilogExports.h)</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#ifndef MBILOG_EXPORT_H</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#define MBILOG_EXPORT_H</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#ifdef MBILOG_STATIC_DEFINE</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  define MBILOG_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  define MBILOG_NO_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#else</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  ifndef MBILOG_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#    ifdef mbilog_EXPORTS</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">        /* We are building this library */</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#      define MBILOG_EXPORT __declspec(dllexport)</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#    else</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">        /* We are using this library */</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#      define MBILOG_EXPORT __declspec(dllimport)</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#    endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  ifndef MBILOG_NO_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#    define MBILOG_NO_EXPORT </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#ifndef MBILOG_DEPRECATED</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  define MBILOG_DEPRECATED __declspec(deprecated)</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#ifndef MBILOG_DEPRECATED_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  define MBILOG_DEPRECATED_EXPORT MBILOG_EXPORT MBILOG_DEPRECATED</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#ifndef MBILOG_DEPRECATED_NO_EXPORT</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  define MBILOG_DEPRECATED_NO_EXPORT MBILOG_NO_EXPORT MBILOG_DEPRECATED</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#if 0 /* DEFINE_NO_DEPRECATED */</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  ifndef MBILOG_NO_DEPRECATED</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#    define MBILOG_NO_DEPRECATED</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#  endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'courier new';font-size:8pt">#endif /* MBILOG_EXPORT_H */ </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">This is kind of a hacky thing to do, but I wonder if you could just copy/paste this into the mbilog source and use that, since I can’t think of a reason why this needs to be auto-generated, other than to take advantage of some free stringizing. </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">Try this and let me know what happens,</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif"> </span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><span style="font-family:'arial' , sans-serif">Hope that helps,</span></p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p><ul type="disc" style="margin-bottom:0in;margin-top:0in"><li style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in">Alex</li></ul><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p><div style="border-style:solid none none none;border-top-color:rgb( 225 , 225 , 225 );border-width:1pt medium medium medium;padding:3pt 0in 0in 0in"><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><strong>From:</strong> Ramazan Ergüder Bekrek <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer" target="_blank">e.bekrek@yandex.com</a>><br /><strong>Sent:</strong> Tuesday, January 12, 2021 7:36 AM<br /><strong>To:</strong> <a href="mailto:amelvill@umich.edu" rel="noopener noreferrer" target="_blank">amelvill@umich.edu</a><br /><strong>Subject:</strong> Re: [mitk-users] Moving BlueBerry Framework from MITK towards CTK making it independant of the massive MITK setup</p></div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in">Well you can follow the part I blocked. It seems that we need to adapt mbilog or remove it by replacing the logging system from CTK. I was wondering if we could just wrap it around CTK's logging and bam smoothly let it believe that it still uses MITK logging.</p><div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p></div><div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in">What do you think?</p></div><div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"> </p></div><div><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in">Best Regards<br /><br />16:20, October 6, 2020, "Ramazan Ergüder Bekrek" <<a href="mailto:e.bekrek@yandex.com" rel="noopener noreferrer" target="_blank">e.bekrek@yandex.com</a>>:</p><blockquote style="margin-bottom:5pt;margin-top:5pt"><p>Greetings,<br /><br />I am still in the pursuit of happiness with this endeavor of moving BlueBerry from MITK downward to CTK. Up until now I didn't receive any feedback with that repository that I created as a branch.<br /><br />I still persisted and almost got it working but due to my lack of CMake understanding I think a little support from all of you would be appreciated. I almost was able to compile org.blueberry.core.runtime as I had it converted to a CTK plugin format when it complained that mbilog was missing its include files.<br /><br />I've checked mbilog in MITK and saw that it was a MITK Module. Since there is no module in CTK I thought the equivalent could be a Lib like the Core, PluginFramework, etc...<br /><br />So I converted the mbilog as a CTK Library and almost got it work. Unfortunately I don't understand what is mbilog and also I ask myself if there is no such equivalent available in CTK already that we could just adapt org.blueberry.core.runtime to use that instead of mbilog.<br /><br />This is the error I am getting when I try to compile<br /><br />1> CTKCore.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKCore.dll<br />1> CTKWidgets.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKWidgets.dll<br />1> CTKWidgetsPlugins.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\designer\Debug\CTKWidgetsPlugins.dll<br />1> CTKPluginFramework.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKPluginFramework.dll<br />1> Generating moc_mbilogExports.cpp<br />1> moc: G:/programming/cpp/CTK/Libs/mbilog/mbilogExports.h: No such file<br /><br />I created this include file to reflect the structure from MITK inside of CTK/Libs/Core/include:MITK/Modules/Core/include :<br /><a href="https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/include/ctkLogMacros.h#L1" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/include/ctkLogMacros.h#L1</a><br /><br />I did the standard export directive here :<br /><a href="https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L17" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L17</a><br /><br />I still don't get why this file is not created by CTK.<br /><br />I also added this line from MITK in CTK/Libs/Core/CMakeLists.txt<br /><a href="https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L19" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L19</a><br /><a href="https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L154" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L154</a><br /><br />The only thing I could not get my head around is this part which I could not translate to CTK. I think there is no equivalent but if there is one please let me know:<br /><a href="https://github.com/al-sabr/CTK/blob/2359469f3d321a04b6078f49ee51168cf958536a/Libs/mbilog/CMakeLists.txt#L44" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/blob/2359469f3d321a04b6078f49ee51168cf958536a/Libs/mbilog/CMakeLists.txt#L44</a><br /><br />You can follow the commit timeline <a href="https://github.com/al-sabr/CTK/commits/ctk-blueberry-framework" rel="noopener noreferrer" target="_blank">https://github.com/al-sabr/CTK/commits/ctk-blueberry-framework</a><br /><br />Best regards<br /><br /><br /><br /><br /> <br /><br /><br />_______________________________________________<br />mitk-users mailing list<br /><a href="mailto:mitk-users@lists.sourceforge.net" rel="noopener noreferrer" target="_blank">mitk-users@lists.sourceforge.net</a><br /><a href="https://lists.sourceforge.net/lists/listinfo/mitk-users" rel="noopener noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/mitk-users</a></p></blockquote><p style="font-family:'calibri' , sans-serif;font-size:11pt;margin:0in"><br /><br />--<br />Sent from Yandex.Mail for mobile</p></div></div></div></blockquote><br /><br />--<br />Sent from Yandex.Mail for mobile</div></div></blockquote></blockquote></div></blockquote></blockquote></blockquote></blockquote></blockquote>