Hi Matt,
The provisioning files intentionally leave out the intermediate output
directory. During the plugin install process, the plugin is looked for
in different subdirectories. If it does not exist in ".../bin/", it is
searched in ".../bin/CMAKE_INT_DIR/" where CMAKE_INT_DIR is a compiler
define set to the build type used when building MITK.
So maybe you have built MITK in Release mode, but your app in Debug mode?
Best,
Sascha
On 09/06/2011 07:09 PM, Clarkson, Matt wrote:
Hi there,
(apologies for all the emails today).
I am just trying to run our external application on Windows. The
application compiles, but when I run the startMyApp_releast.bat file I
get the following errors:
2.56 blueberry.osgi.intPltfm ERROR: Failed to install:
file:///C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll,
Failed to install plugin: The plugin could not be loaded:
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll
Caused by: Cannot load library
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll:
The specified module could not be found.
Caused by: Cannot load library
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll:
The specified module could not be found.
Caused by: The plugin could not be loaded:
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll
Caused by: Cannot load library
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll:
The specified module could not be found.
Caused by: Cannot load library
C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll:
The specified module could not be found.
I did just notice that the application provisioning file seems to miss
the Release folder in the names of the plugins.
So, we have lines like this:
START
file:///C:/build/UCLToolkit-SuperbuildRelease/UCLToolkit-build/bin/plugins
/libuk_ac_ucl_cmic_gui_qt_common.dll
which does not exist on my C drive instead of this (which is more in
line with what I would expect).
START
file:///C:/build/UCLToolkit-SuperbuildRelease/UCLToolkit-build/bin/plugins/Release/libuk_ac_ucl_cmic_gui_qt_common.dll
Then I went and checked what the ExtApp.provisioning file contains and
it also contains lines like this:
START
file:///C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/liborg_mitk_core_services.dll
which is wrong, and should probably be:
START
file:///C:/build/UCLToolkit-SuperbuildRelease/MITK-build/MITK-build/bin/plugins/Release/liborg_mitk_core_services.dll
However, the paths in the error message appears to be CORRECT. So the
error message appears correct, and the provisioning file appears wrong.
Is there anything obvious Im missing?
Any help would be greatfully appreciated.
Thanks as always.
Matt
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users