Sascha

Thank you. Somehow, some toolkits built in release. I made sure in Cmake
MITK Superbuild to only have the debug build for all projects and all now
works well.

Thank you,
Sergio

On Mon, Mar 12, 2012 at 5:32 AM, Sascha Zelzer
<[email protected]>wrote:

>  Hi Sergio,
>
> please also include the mailing list when posting.
>
> I cannot actually spot a problem. If I had to guess, I'd say it is related
> to using wrong library types (mixing debug/release or 32bit and 64 bit
> libraries, maybe related to Qt). The path printed when starting ExtApp
> contains both "debug" and "release" folders. This looks suspicious.
>
> Best,
> Sascha
>
>
> On 03/10/2012 10:31 PM, Sergio Aguirre wrote:
>
> Sascha
>
>  Thank you for the suggestion.
>
>  I have tried the suggested batch file with more or less the same result
> (see below). I also tested the ExtApp using its batch file getting a
> slightly different outcome.
>
>  Any suggestions?
>
> Sergio
>
>  CoreApp
>
>  C:\testing\mitk-bin\MITK-build\bin>startCoreApp_debug.bat
>
>
> C:\testing\mitk-bin\MITK-build\bin>PATH=C:/testing/mitk-bin/VTK-build/bin/debug;
>
> C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/debug
>
> ;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CTK-build/bin/debug;C:
>
> /testing/mitk-bin/MITK-build/bin/plugins/debug;C:/testing/mitk-bin/GDCM-build/bi
>
> n/debug;C:\Perl64\site\bin;C:\Perl64\bin;C:\InfiniteZ\ZSpaceSdk\2.4.0-custom\Bin
>
> ;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Win
> dowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL
> Server\90\Tools\binn\;
> C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files
> (x86)\QuickTime\QTSystem\
> C:\Qt\4.8.0_x64\bin
>
>  C:\testing\mitk-bin\MITK-build\bin>debug\CoreApp.exe
> new PATH:
> "C:/testing/mitk-bin/MITK-build/bin/plugins/Debug;C:/testing/mitk-bin/
>
> VTK-build/bin/debug;C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin/
>
> MITK-build/bin/debug;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CT
>
> K-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/plugins/debug;C:/testing/mi
>
> tk-bin/GDCM-build/bin/debug;C:\Perl64\site\bin;C:\Perl64\bin;C:\InfiniteZ\ZSpace
>
> Sdk\2.4.0-custom\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\
> Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft
> SQL Se
> rver\90\Tools\binn\;C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files
> (x86)\
> QuickTime\QTSystem\ C:\Qt\4.8.0_x64\bin"
>
>  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Assertion violation: _pInstance == 0 [in file
> "..\..\..\..\..\mitk-2.99\Utilitie
> s\Poco\Util\src\Application.cpp", line 122]
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> ctkPlugin start failed
>   Caused by: Assertion violation
>   Caused by: Assertion violation
>   Caused by: Assertion violation
> Sat Mar 10 13:19:55 2012
> 0.42 blueberry.osgi.svcRegistry FATAL: The org.blueberry.osgi plug-in is
> not sta
> rted. Check that your application loads the correct provisioning file and
> that i
> t contains an entry for the org.blueberry.osgi plug-in.
>
>  ExtApp
>
> /////////////////////////////////////////////////////////////////////////////////////
>
>  C:\testing\mitk-bin\MITK-build\bin>startExtApp_debug.bat
>
>
> C:\testing\mitk-bin\MITK-build\bin>PATH=C:/testing/mitk-bin/VTK-build/bin/debug;
>
> C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/debug
>
> ;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CTK-build/bin/debug;C:
>
> /testing/mitk-bin/MITK-build/bin/plugins/debug;C:/testing/mitk-bin/GDCM-build/bi
>
> n/debug;C:/testing/mitk-bin/VTK-build/bin/release;C:/testing/mitk-bin/ITK-build/
>
> bin/release;C:/testing/mitk-bin/MITK-build/bin/release;C:/Qt/4.8.0_x64/lib/../bi
>
> n;C:/testing/mitk-bin/CTK-build/CTK-build/bin/release;C:/testing/mitk-bin/MITK-b
>
> uild/bin/plugins/release;C:/testing/mitk-bin/GDCM-build/bin/release;C:/testing/m
>
> itk-bin/VTK-build/bin/debug;C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/m
>
> itk-bin/MITK-build/bin/debug;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-
>
> build/CTK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/plugins/debug;C:/te
>
> sting/mitk-bin/GDCM-build/bin/debug;C:\Perl64\site\bin;C:\Perl64\bin;C:\Infinite
>
> Z\ZSpaceSdk\2.4.0-custom\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\
> Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files
> (x86)\Microsof
> t SQL Server\90\Tools\binn\;C:\Program Files (x86)\CMake
> 2.8\bin;C:\Program File
> s (x86)\QuickTime\QTSystem\ C:\Qt\4.8.0_x64\bin
>
>  C:\testing\mitk-bin\MITK-build\bin>debug\ExtApp.exe
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_LegacyAdapt
> ors) The specified procedure could not be found.
>
>  Sat Mar 10 13:23:00 2012
> 1.33 core.mod.ippicsupport.picFileIoFac: Registering PicFileIOFactory
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_IpPicSuppor
> t) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ImageExtrac
> tion) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_SceneSerial
> izationBase) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_PlanarFigur
> e) The specified procedure could not be found.
>
>  GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkExt)
> Th
> e specified procedure could not be found.
>
>  GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_Qmitk)
> The
> specified procedure could not be found.
>
>  
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_QmitkExt)
> T
> he specified procedure could not be found.
>
>  new PATH:
> "C:/testing/mitk-bin/CTK-build/CTK-build/bin/Debug;C:/testing/mitk-bin
>
> /VTK-build/bin/debug;C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin
>
> /MITK-build/bin/debug;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/C
>
> TK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/plugins/debug;C:/testing/m
>
> itk-bin/GDCM-build/bin/debug;C:/testing/mitk-bin/VTK-build/bin/release;C:/testin
>
> g/mitk-bin/ITK-build/bin/release;C:/testing/mitk-bin/MITK-build/bin/release;C:/Q
>
> t/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CTK-build/bin/release;C:/te
>
> sting/mitk-bin/MITK-build/bin/plugins/release;C:/testing/mitk-bin/GDCM-build/bin
>
> /release;C:/testing/mitk-bin/VTK-build/bin/debug;C:/testing/mitk-bin/ITK-build/b
>
> in/debug;C:/testing/mitk-bin/MITK-build/bin/debug;C:/Qt/4.8.0_x64/lib/../bin;C:/
>
> testing/mitk-bin/CTK-build/CTK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bi
>
> n/plugins/debug;C:/testing/mitk-bin/GDCM-build/bin/debug;C:\Perl64\site\bin;C:\P
>
> erl64\bin;C:\InfiniteZ\ZSpaceSdk\2.4.0-custom\Bin;C:\Windows\system32;C:\Windows
>
> ;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
>  Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
> (x86)\CMake 2.
> 8\bin;C:\Program Files (x86)\QuickTime\QTSystem\ C:\Qt\4.8.0_x64\bin"
> new PATH:
> "C:/testing/mitk-bin/MITK-build/bin/plugins/Debug;C:/testing/mitk-bin/
>
> CTK-build/CTK-build/bin/Debug;C:/testing/mitk-bin/VTK-build/bin/debug;C:/testing
>
> /mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/debug;C:/Qt/4.8
>
> .0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CTK-build/bin/debug;C:/testing/m
>
> itk-bin/MITK-build/bin/plugins/debug;C:/testing/mitk-bin/GDCM-build/bin/debug;C:
>
> /testing/mitk-bin/VTK-build/bin/release;C:/testing/mitk-bin/ITK-build/bin/releas
>
> e;C:/testing/mitk-bin/MITK-build/bin/release;C:/Qt/4.8.0_x64/lib/../bin;C:/testi
>
> ng/mitk-bin/CTK-build/CTK-build/bin/release;C:/testing/mitk-bin/MITK-build/bin/p
>
> lugins/release;C:/testing/mitk-bin/GDCM-build/bin/release;C:/testing/mitk-bin/VT
>
> K-build/bin/debug;C:/testing/mitk-bin/ITK-build/bin/debug;C:/testing/mitk-bin/MI
>
> TK-build/bin/debug;C:/Qt/4.8.0_x64/lib/../bin;C:/testing/mitk-bin/CTK-build/CTK-
>
> build/bin/debug;C:/testing/mitk-bin/MITK-build/bin/plugins/debug;C:/testing/mitk
>
> -bin/GDCM-build/bin/debug;C:\Perl64\site\bin;C:\Perl64\bin;C:\InfiniteZ\ZSpaceSd
>
> k\2.4.0-custom\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Wi
> ndows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft
> SQL Serv
> er\90\Tools\binn\;C:\Program Files (x86)\CMake 2.8\bin;C:\Program Files
> (x86)\Qu
> ickTime\QTSystem\ C:\Qt\4.8.0_x64\bin"
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ImageStatis
> tics) The specified procedure could not be found.
>
>  GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGT)
> Th
> e specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGTUI)
> The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ImageStatis
> tics) The specified procedure could not be found.
>
>  GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGT)
> Th
> e specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGTUI)
> The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ImageStatis
> tics) The specified procedure could not be found.
>
>  GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGT)
> Th
> e specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkIGTUI)
> The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ImageStatis
> tics) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkRigidRe
> gistration) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkDeforma
> bleRegistration) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkDeforma
> bleRegistrationUI) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_MitkRigidRe
> gistrationUI) The specified procedure could not be found.
>
>
> GetSymbol_impl():GetProcAddress(handle,_us_module_activator_instance_ClippingToo
> ls) The specified procedure could not be found.
>
>  Sat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.LogLevel=2
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:215
> Sat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.CacheSize=30
>  in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:217
> Sat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.ThreadPoolSize=20
>  in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:219
> Sat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.Timeout=5000
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:221
> Sat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.RequireTopic=true
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:223
>
>  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Assertion violation: _pInstance == 0 [in file
> "..\..\..\..\..\mitk-2.99\Utilitie
> s\Poco\Util\src\Application.cpp", line 122]
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> cStat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.LogLevel=2
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:215
> kSPat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.CacheSize=30
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
>  ventadmin\ctkEAConfiguration.cpp:217
> luSgat Mar 10 13:23:14 2012 Debug:
> org.commontk.eventadmin.ThreadPoolSize=20
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
>  ventadmin\ctkEAConfiguration.cpp:219
> iSnat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.Timeout=5000
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:221
>  Ssat Mar 10 13:23:14 2012 Debug: org.commontk.eventadmin.RequireTopic=true
> in ctkEAConfiguration::startOrUpdate,
> ..\..\..\..\CTK-src\Plugins\org.commontk.e
> ventadmin\ctkEAConfiguration.cpp:223
> tart failed
>   Caused by: Assertion violation
>   Caused by: Assertion violation
>   Caused by: Assertion violation
> 14.70 blueberry.osgi.svcRegistry FATAL: The org.blueberry.osgi plug-in is
> not st
> arted. Check that your application loads the correct provisioning file and
> that
> it contains an entry for the org.blueberry.osgi plug-in.
> QWaitCondition: Destroyed while threads are still waiting
>
>  C:\testing\mitk-bin\MITK-build\bin>
>
>
>
> On Sat, Mar 10, 2012 at 4:26 AM, Sascha Zelzer <
> [email protected]> wrote:
>
>> Hi Sergio,
>>
>> Your output suggests that you tried to run the CoreApp.exe directly. On
>> Windows, you normally need to use the batch files in your build directory.
>> C:\testing\mitk-bin\MITK-build\startVS_debut.bat for being able to run the
>> applications from within VS, or
>> C:\testing\mitk-bin\MITK-build\bin\startCoreApp_debug.bat for starting the
>> CoreApp directly.
>>
>> Best,
>> Sascha
>>
>>
>> On 03/09/2012 08:38 PM, Sergio Aguirre wrote:
>>
>>> Hi everyone
>>>
>>> I have begun to develop with MITK. I just built the toolkit and have
>>> successfully tested the tutorial sample applications - the ones called Step
>>> 1 - 10.
>>>
>>> However, when I try and run the CoreApp I get an error from CTKPlugin
>>> start failed and an OSGI error as well (see below).
>>>
>>> Do you have any suggestion on what I might be missing to get the app
>>> running?
>>>
>>> Thank you,
>>>
>>> Sergio
>>>
>>> C:\testing\mitk-bin\MITK-build\bin\Debug>CoreApp
>>>
>>> new PATH:
>>> "C:/testing/mitk-bin/MITK-build/bin/plugins/Debug;C:\Perl64\site\bin;C
>>>
>>> :\Perl64\bin;C:\InfiniteZ\ZSpaceSdk\2.4.0-custom\Bin;C:\Windows\system32;C:\Wind
>>>
>>> ows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Prog
>>> ram Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
>>> (x86)\CMake
>>>  2.8\bin;C:\Program Files (x86)\QuickTime\QTSystem\ C:\Qt\4.8.0_x64\bin"
>>>
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> Assertion violation: _pInstance == 0 [in file
>>> "..\..\..\..\..\mitk-2.99\Utilitie
>>> s\Poco\Util\src\Application.cpp", line 122]
>>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>>> ctkPlugin start failed
>>>  Caused by: Assertion violation
>>>  Caused by: Assertion violation
>>>  Caused by: Assertion violation
>>> Fri Mar 09 11:22:38 2012
>>> 0.44 blueberry.osgi.svcRegistry FATAL: The org.blueberry.osgi plug-in is
>>> not sta
>>> rted. Check that your application loads the correct provisioning file
>>> and that i
>>> t contains an entry for the org.blueberry.osgi plug-in.
>>>
>>> C:\testing\mitk-bin\MITK-build\bin\Debug>
>>>
>>
>>
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to