Hi George,

thanks for the information. I had a look at the code and unfortunately, 
this is a little bug in the bundle generator (or the CMake configuration).

By default, the two bundles

org.mitk.gui.qt.application
org.mitk.gui.qt.extapplication

are set to ON, and both contribute an application to the framework 
(CoreApp and ExtApp). The code generated by the bundle generator then 
tries to start the framework, but does not know which application to 
start. You can tell the executable the application id as described 
below, or hard-code it in your <your-project>.cpp file, as for example 
in <mitk-src>/Applications/ExtApp/ExtApp.cpp :

myConfig->setString(cherry::Platform::ARG_APPLICATION, 
"org.mitk.qt.extapplication");
return cherry::Starter::Run(argc, argv, myConfig)


Best,
Sascha

On 02/03/2010 12:00 AM, g c wrote:
> Hi Sascha,
>
> I'm not using any svn checkout, just MITK version 0.14 for now.
>
> I tried your second suggestion and that works.
>
> FYI, I'm using ITK-3.16.0, VTK-5.4.2, Qt-4.5.3, Visual Studio 8 (2005) on
> 64bit Windows XP.
>
> Please let me know if you need more info.
>
> Many thanks!
>
> George
>
> On 2 February 2010 21:36, Sascha Zelzer<s.zel...@dkfz-heidelberg.de>  wrote:
>
>> Hi,
>>
>> is it possible that you mixed the SVN head sources with a compiled 0.14
>> MITK, or vice versa? If not, I will look into this issue tomorrow. In
>> the meanwhile, you can try to start you app by typing
>>
>> yourapp.exe /BlueBerry.application=org.mitk.qt.extapplication (if you
>> use an up-to-date svn version)
>>
>> or
>>
>> yourapp.exe /openCherry.application=org.mitk.qt.extapplication (for MITK
>> 0.14)
>>
>> Regards,
>> Sascha
>>
>> Am 02.02.2010 22:11, schrieb g c:
>>
>>> Dear all,
>>>
>>> I followed the instructions on generating a new MITK project at:
>>>
>>> http://docs.mitk.org/nightly-qt4/NewPluginPage.html
>>>
>>> After building and running the executable I got the following error:
>>>
>>> H:\builds\buildsWindows64bit\MITKTest\bin>release\MITKTest.exe
>>> 0.77 core.mod.difImg.objFac: Registering DiffusionImagingObjectFactory...
>>> 0.77 core.mod.difImg.objFac: DiffusionImagingObjectFactory c'tor
>>> 0.77 core.alg.coreObjFac: CoreObjectFactory c'tor
>>> 0.77 core.alg.coreObjFac: CoreObjectFactory: created instance of
>>> CoreObjectFactory
>>> 0.77 core.alg.coreObjFac: Registering extra factory:
>>> DiffusionImagingObjectFactory
>>> 0.78 blueberry.osgi.starter WARNING: You must provide an application
>>> id via "openCherry.application=<id>"
>>> 0.78 blueberry.osgi.starter: Possible application ids are:
>>> 0.78 blueberry.osgi.starter: org.mitk.qt.application
>>> 0.78 blueberry.osgi.starter: org.mitk.qt.extapplication
>>> 0.78 blueberry.osgi.starter ERROR: Could not create executable
>>> application extension for id:
>>>
>>> I'm not sure what these warning and error messages mean, can anyone
>>> help me in resolving this?
>>>
>>> Many thanks and best wishes,
>>>
>>> George
>>>
>>> ------------------------------------------------------------------------------
>>> The Planet: dedicated and managed hosting, cloud storage, colocation
>>> Stay online with enterprise data centers and the best network in the 
>>> business
>>> Choose flexible plans and management services without long-term contracts
>>> Personal 24x7 support from experience hosting pros just a phone call away.
>>> http://p.sf.net/sfu/theplanet-com
>>> _______________________________________________
>>> mitk-users mailing list
>>> mitk-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> The Planet: dedicated and managed hosting, cloud storage, colocation
>> Stay online with enterprise data centers and the best network in the business
>> Choose flexible plans and management services without long-term contracts
>> Personal 24x7 support from experience hosting pros just a phone call away.
>> http://p.sf.net/sfu/theplanet-com
>> _______________________________________________
>> mitk-users mailing list
>> mitk-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>
>>


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to