Hi there, Im upgrading our code from MITK version 2014.03 to 2014.10.
It looks like various changes to the micro services have been implemented (thanks!). Is there a migration document? Or a list of specific changes I should make? Im looking at the tutorial (http://docs.mitk.org/2014.10/MicroServices_Overview.html) and it seems to match what I have (which doesn’t now compile). So, is the tutorial the recommended way? Or does it need updating? Thanks Matt PS. More specifically, the current problem is pasted below, but I suspect I need to understand the changes in principal rather than just patch things up. [ 71%] Building CXX object Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/src/internal/ImageLookupTablesViewActivator.cxx.o In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:15: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.h:18: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginActivator.h:25: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:25: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/QHash:1: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qhash.h:49: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qpair.h:45: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qdatastream.h:46: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qiodevice.h:46: /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qobject.h:378:34: error: no member named 'qt_check_for_QOBJECT_macro' in 'QmitkLookupTableProviderService' reinterpret_cast<T>(object)->qt_check_for_QOBJECT_macro(*reinterpret_cast<T>(object)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:469:12: note: in instantiation of function template specialization 'qobject_cast<QmitkLookupTableProviderService *>' requested here return qobject_cast<S*>(getService(reference)); ^ /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:75:57: note: in instantiation of function template specialization 'ctkPluginContext::getService<QmitkLookupTableProviderService>' requested here QmitkLookupTableProviderService* lutService =context->getService<QmitkLookupTableProviderService>(serviceRef); ^ In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.cxx:15: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade/Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/src/internal/ImageLookupTablesViewActivator.h:18: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginActivator.h:25: In file included from /Users/mattclarkson/build/NifTK-MITK-Upgrade-SuperBuild-Debug/CTK-src/Libs/PluginFramework/ctkPluginContext.h:25: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/QHash:1: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qhash.h:49: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qpair.h:45: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qdatastream.h:46: In file included from /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qiodevice.h:46: /Users/mattclarkson/install/qt-2014-11-27/lib/QtCore.framework/Headers/qobject.h:380:56: error: no member named 'staticMetaObject' in 'QmitkLookupTableProviderService' return static_cast<T>(reinterpret_cast<T>(object)->staticMetaObject.cast(object)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 2 errors generated. make[2]: *** [Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/src/internal/ImageLookupTablesViewActivator.cxx.o] Error 1 make[1]: *** [Code/Gui/MITK/Plugins/uk.ac.ucl.cmic.imagelookuptables/CMakeFiles/uk_ac_ucl_cmic_imagelookuptables.dir/all] Error 2 make: *** [all] Error 2 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
