Hi Miklos, please remove the two colons "::" in your plugin.xml file. The instructions at http://www.mitk.org/wiki/Converting%20a%20BlueBerry%20bundle%20to%20a%20CTK%20plugin have been updated considering this peculiarity a couple of days ago (see section 1.4).
You should definitely convert your BlueBerry plugins, since support for them will be discontinued in the near future. Thanks, Sascha On 06/21/2011 02:51 PM, Miklos Espak wrote: > Hi, > > I get the following error when I run my MITK application (based on > ExtApp). > > !0.630! [BlueBerry] WARNING: Trying to create an executable extension > (from org.blueberry.ui.views in it.unito.kmaps) from a non-CTK > plug-in. Use the CreateExecutableExtension<C>(propertyName, > manifestName) method instead. > #0.650# [BlueBerry] ERROR: Cannot load library: > /home/espakm/workspace-torino/KMaps/build/bin/Bundles/it.unito.kmaps/bin/libit_unito_kmaps.so: > > undefined symbol: > _ZN27QmitkExtAppWorkbenchAdvisor10InitializeEN5berry12SmartPointerINS0_20IWorkbenchConfigurerEEE > #0.650# [BlueBerry] ERROR: Error loading class: Not found: > ::QmitkKMapsProtocolView > [0.650] [BlueBerry] LOG: Unable to create view ID > it.unito.kmaps.ProtocolView: Part initialization error: > ::QmitkKMapsProtocolView > > > I use the latest version from the Git repository. I followed the > instruction about the migration as described here: > http://www.mitk.org/wiki/BlueBerry > Maybe, I missed some step, but I don't know what. The class attribute > in the plugin.xml is the same as the one exported from manifest.cpp > > Could somebody help me, please? > > Shell I convert my BlueBerry plugin to CTK? > > Thanks, > Miklos > > plugin.xml: > <?xml version="1.0" encoding="UTF-8"?> > <?BlueBerry version="0.1"?> > <plugin> > > <extension point="org.blueberry.ui.views"> > <view id="it.unito.kmaps.ProtocolView" > name="DCE Protocol" > class="::QmitkKMapsProtocolView" > icon="resources/dce-icon.png" /> > <view id="it.unito.kmaps.IntensityProfileView" > name="Intensity Profile" > class="::QmitkKMapsIntensityProfileView" > icon="resources/plot1.jpg" /> > </extension> > > <extension point="org.blueberry.ui.perspectives"> > <perspective id="it.unito.kmaps.KMapsPerspective" > name="Kinetic Maps" > class="kmaps::QmitkKMapsPerspective" > icon="resources/dce-icon.png" /> > </extension> > > </plugin> > > > manifest.cpp: > ... > POCO_BEGIN_NAMED_MANIFEST(berryIViewPart, berry::IViewPart) > POCO_EXPORT_CLASS(::QmitkKMapsProtocolView) > POCO_EXPORT_CLASS(::QmitkKMapsIntensityProfileView) > POCO_END_MANIFEST > > POCO_BEGIN_NAMED_MANIFEST(berryIPerspectiveFactory, > berry::IPerspectiveFactory) > POCO_EXPORT_CLASS(kmaps::QmitkKMapsPerspective) > POCO_END_MANIFEST > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
