Hi Martin,

Please make sure that the environment paths are set correctly, i.e., start 
Visual Studio via MITK-build\StartVS_debug.bat for executing MITK Workbench in 
debug mode or StartVS_release.bat for executing MITK Workbench in release mode.

If you want to start MITK Workbench directly, use 
MITK-build\bin\startmitkWorkbench_debug.bat or startmitkWorkbench_release.bat 
accordingly.

If you want to switch between debug and release mode inside of Visual Studio 
without reopening the IDE each time, you can do that as well: Open one of the 
batch files mentioned above with your favorite text editor and copy the whole 
"PATH=..." line into an empty text file. Then you replace all occurrences of 
"debug" (or "release" dependent on which file you originally opened) by 
"$(Configuration)". Open MITK.sln in Visual Studio, go to the project 
properties of mitkWorkbench -> Debugging -> Environment and copy you modified 
line here. From now on you can use MITK.sln directly without the need of the 
batch files.

Best,
    Stefan

PS: Yes, modules are loaded and unloaded multiple times during startup.

-----Ursprüngliche Nachricht-----
Von: Martin Klemm [mailto:mkl...@stud.hs-offenburg.de] 
Gesendet: Mittwoch, 2. Oktober 2013 13:10
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] ctkPluginException: Failed to install plugin

Hi at all,

When I start our application I get the following error in mbilog (see after the 
message). This application has two plug-ins and for both plug-ins I receive the 
same error. We have exactly the same applications running on two other 
computers of my colleagues and they are running without any problem.

One of my colleagues encountered the same problem but after starting from 
scratch it did not occur anymore. My try to do the same was not successful.

In the error message it says that the module cannot be found. But I checked it 
the plugin is there. The compilation in Visual Studio also works without a 
problem. When I start the application in VS in debug mode I can read in the 
output window:

'xxxApp.exe': Loaded
'D:\Projects\xxx\bin\bin\plugins\Debug\liborg_xxx_SetupScreen.dll',
Symbols loaded.

and some lines later:

'xxxApp.exe': Unloaded
'D:\Projects\xxx\bin\bin\plugins\Debug\liborg_xxx_SetupScreen.dll'

Is that a normal behaviour? There are also some suspicious exceptions:

First-chance exception at 0x000007fefc90940d in xxxApp.exe: Microsoft 
C++ exception: ctkPluginException at memory location 0x0022a0a0..
First-chance exception at 0x000007fefc90940d in xxxApp.exe: Microsoft 
C++ exception: [rethrow] at memory location 0x00000000..


I am using the following versions:

MITK 2013.06.0
QT 4.8.4
doxygen 1.80
graphviz 2.22
VS2010

Does anyone knows a solution to that? Thanks for you help ;)

best regards

Martin

############## mbilog error##########################

0.66 blueberry.osgi.intPltfm ERROR: ctkPluginException: Failed to install plugin

         at 000007FEEAD381DB: ctkBackTracePrivate::trace + 0x4b in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD37C8C: ctkBackTrace::ctkBackTrace + 0xfc in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD8ED55: ctkException::ctkException + 0x55 in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD901FC: ctkRuntimeException::ctkRuntimeException + 0x3c 
in 
C:\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.d
ll
         at 000007FEEB7AC3C2: ctkPluginException::ctkPluginException +
0x42 in C:
\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFr
amework.dll
         at 000007FEEB82380D: `ctkPlugins::install'::`1'::catch$0 + 0x8d in 
C:\Pr 
ograms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFrame
work.dll
         at 00000000602E0E40: __unDNameEx + 0xc4c0
         at 00000000602D18FC: __FrameUnwindFilter + 0x51c
         at 00000000774F0C51: RtlRestoreContext + 0x2e2
         at 000007FEEB7DAB22: ctkPlugins::install + 0x3d2 in 
C:\Programs\MITK\win 
64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramework.dll
         at 000007FEEB7A94E1: ctkPluginContext::installPlugin + 0x71 in 
C:\Progra 
ms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramework
.dll
         at 000007FEEAF45B27: berry::InternalPlatform::Initialize +
0x1787 in C:\
Programs\MITK\win64-vc10sp1\2013.06.0\MITK-build\bin\plugins\debug\liborg_bluebe
rry_osgi.dll
         at 000007FEEAEF31D6: berry::Starter::Run + 0x116 in 
C:\Programs\MITK\win 
64-vc10sp1\2013.06.0\MITK-build\bin\plugins\debug\liborg_blueberry_osgi.dll
         at 000000013FA414E9: main + 0x2d9 in D:\Projects\xxx\bin\bin\Debug\ 
xxxApp.exe
         at 000000013FA434EC: __tmainCRTStartup + 0x19c in D:\Projects\xxx\b 
in\bin\Debug\xxxApp.exe
         at 000000013FA4333E: mainCRTStartup + 0xe in D:\Projects\xxx\bin\bi 
n\Debug\xxxApp.exe
         at 000000007739652D: BaseThreadInitThunk + 0xd
         at 00000000774CC541: RtlUserThreadStart + 0x21 Caused by: 
ctkPluginException: The plugin "D:/Projects/xxx/bin/bin/plugins/ 
Debug/liborg_xxx_SetupScreen.dll" could not be loaded: Cannot load library
D:/Projects/xxx/bin/bin/plugins/Debug/liborg_xxx_SetupScreen.dll: Das 
angegebene Modul wurde nicht gefunden.
         at 000007FEEAD381DB: ctkBackTracePrivate::trace + 0x4b in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD37C8C: ctkBackTrace::ctkBackTrace + 0xfc in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD8EC90: ctkException::ctkException + 0x50 in 
C:\Programs\MI 
TK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.dll
         at 000007FEEAD90182: ctkRuntimeException::ctkRuntimeException +
0x32 in
C:\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKCore.d
ll
         at 000007FEEB7AC338: ctkPluginException::ctkPluginException +
0x38 in C:
\Programs\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFr
amework.dll
         at 000007FEEB7E2B7F: ctkPluginStorageSQL::insertArchive + 0x56f in 
C:\Pr 
ograms\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFrame
work.dll
         at 000007FEEB7E25AD: ctkPluginStorageSQL::insertArchive + 0xed in 
C:\Pro 
grams\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramew
ork.dll
         at 000007FEEB7E23A4: ctkPluginStorageSQL::insertPlugin + 0x2d4 in 
C:\Pro 
grams\MITK\win64-vc10sp1\2013.06.0\CTK-build\CTK-build\bin\debug\CTKPluginFramew
ork.dll


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register > 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to