<div><div style="background-color:rgb( 255 , 255 , 255 );color:rgb( 0 , 0 , 0 );font-family:'arial' , sans-serif;font-size:15px;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">I forgot to mention that I run CMake with the following variables:</div><div style="background-color:rgb( 255 , 255 , 255 );color:rgb( 0 , 0 , 0 );font-family:'arial' , sans-serif;font-size:15px;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"> </div><div style="background-color:rgb( 255 , 255 , 255 );color:rgb( 0 , 0 , 0 );font-family:'arial' , sans-serif;font-size:15px;font-style:normal;font-weight:400;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">cmake .. -G "Visual Studio 16 2019" -A x64  -DCMAKE_TOOLCHAIN_FILE=g:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCTK_QT_VERSION=5 -DBUILD_TESTING=OFF -DPoco_DIR=G:\vcpkg\installed\x64-windows\share\poco -DCTK_ENABLE_Widgets=ON</div></div><div><br /></div><div><br /></div><div>06.10.2020, 18:00, "ctk-developers-request@public.kitware.com" <ctk-developers-request@public.kitware.com>:</div><blockquote><p>Send Ctk-developers mailing list submissions to<br />        <a href="mailto:ctk-developers@public.kitware.com">ctk-developers@public.kitware.com</a><br /><br />To subscribe or unsubscribe via the World Wide Web, visit<br />        <a href="https://public.kitware.com/mailman/listinfo/ctk-developers">https://public.kitware.com/mailman/listinfo/ctk-developers</a><br />or, via email, send a message with subject or body 'help' to<br />        <a href="mailto:ctk-developers-request@public.kitware.com">ctk-developers-request@public.kitware.com</a><br /><br />You can reach the person managing the list at<br />        <a href="mailto:ctk-developers-owner@public.kitware.com">ctk-developers-owner@public.kitware.com</a><br /><br />When replying, please edit your Subject line so it is more specific<br />than "Re: Contents of Ctk-developers digest..."<br /><br /><br />Today's Topics:<br /><br />   1. Moving BlueBerry Framework from MITK towards CTK making it<br />      independant of the massive MITK setup (Ramazan Erg?der Bekrek)<br /><br /><br />----------------------------------------------------------------------<br /><br />Message: 1<br />Date: Tue, 06 Oct 2020 16:13:44 +0200<br />From: Ramazan Erg?der Bekrek <<a href="mailto:e.bekrek@yandex.com">e.bekrek@yandex.com</a>><br />To: ctk-developers <<a href="mailto:ctk-developers@public.kitware.com">ctk-developers@public.kitware.com</a>>, mitk-users<br />        <<a href="mailto:mitk-users@lists.sourceforge.net">mitk-users@lists.sourceforge.net</a>><br />Subject: [Ctk-developers] Moving BlueBerry Framework from MITK towards<br />        CTK making it independant of the massive MITK setup<br />Message-ID: <<a href="mailto:245741601992207@mail.yandex.com">245741601992207@mail.yandex.com</a>><br />Content-Type: text/plain<br /><br />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">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">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">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">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">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">https://github.com/al-sabr/CTK/commits/ctk-blueberry-framework</a><br /><br />Best regards<br /><br /><br /><br /><br /> <br /><br /><br />------------------------------<br /><br />Subject: Digest Footer<br /><br />_______________________________________________<br />Ctk-developers mailing list<br /><a href="mailto:Ctk-developers@public.kitware.com">Ctk-developers@public.kitware.com</a><br /><a href="https://public.kitware.com/mailman/listinfo/ctk-developers">https://public.kitware.com/mailman/listinfo/ctk-developers</a><br /><br /><br />------------------------------<br /><br />End of Ctk-developers Digest, Vol 81, Issue 1<br />*********************************************<br /></p></blockquote>