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




 


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to