From e.bekrek at yandex.com Tue Oct 6 10:13:44 2020 From: e.bekrek at yandex.com (=?utf-8?B?UmFtYXphbiBFcmfDvGRlciBCZWtyZWs=?=) Date: Tue, 06 Oct 2020 16:13:44 +0200 Subject: [Ctk-developers] Moving BlueBerry Framework from MITK towards CTK making it independant of the massive MITK setup Message-ID: <245741601992207@mail.yandex.com> Greetings, 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. 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. 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... 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. This is the error I am getting when I try to compile 1> CTKCore.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKCore.dll 1> CTKWidgets.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKWidgets.dll 1> CTKWidgetsPlugins.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\designer\Debug\CTKWidgetsPlugins.dll 1> CTKPluginFramework.vcxproj -> G:\programming\cpp\CTK\build\CTK-build\bin\Debug\CTKPluginFramework.dll 1> Generating moc_mbilogExports.cpp 1> moc: G:/programming/cpp/CTK/Libs/mbilog/mbilogExports.h: No such file I created this include file to reflect the structure from MITK inside of CTK/Libs/Core/include:MITK/Modules/Core/include : https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/include/ctkLogMacros.h#L1 I did the standard export directive here : https://github.com/al-sabr/CTK/blob/d39f75568a08cbd0efca6042e17b2a68567b9d0a/Libs/Core/CMakeLists.txt#L17 I still don't get why this file is not created by CTK. I also added this line from MITK in CTK/Libs/Core/CMakeLists.txt 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#L154 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: https://github.com/al-sabr/CTK/blob/2359469f3d321a04b6078f49ee51168cf958536a/Libs/mbilog/CMakeLists.txt#L44 You can follow the commit timeline https://github.com/al-sabr/CTK/commits/ctk-blueberry-framework Best regards From e.bekrek at yandex.com Tue Oct 6 15:52:59 2020 From: e.bekrek at yandex.com (=?utf-8?B?UmFtYXphbiBFcmfDvGRlciBCZWtyZWs=?=) Date: Tue, 06 Oct 2020 21:52:59 +0200 Subject: [Ctk-developers] [mitk-users] Moving BlueBerry Framework from MITK towards CTK making it independant of the massive MITK setup In-Reply-To: <245741601992207@mail.yandex.com> References: <245741601992207@mail.yandex.com> Message-ID: <212751602013948@mail.yandex.com> An HTML attachment was scrubbed... URL: From e.bekrek at yandex.com Tue Oct 6 15:53:33 2020 From: e.bekrek at yandex.com (=?utf-8?B?UmFtYXphbiBFcmfDvGRlciBCZWtyZWs=?=) Date: Tue, 06 Oct 2020 21:53:33 +0200 Subject: [Ctk-developers] Ctk-developers Digest, Vol 81, Issue 1 In-Reply-To: References: Message-ID: <242221602014011@mail.yandex.com> An HTML attachment was scrubbed... URL: