Hello Matt,
yes, I had this problem as well and there might be problem with the install
script? My final build looks similar to yours.
Someone mentioned before that we are supposed to use:
make
make package
I don't think this will necessarily fix your problems, but you could give
that a try.
Cheers, Chris
On Tue, Mar 4, 2014 at 1:33 PM, Clarkson, Matt <[email protected]> wrote:
> Hi Sascha,
>
> it was a completely clean build. Is the MitkWorkbench.app not self
> contained? If all library dependencies are specified using @executable_path
> or @rpath, then the app should run standalone, so it looks to me like this
> is not the case..... but Im struggling to understand why.... maybe I need more
> cofffee?
>
> So, I just did
>
> dhcp-43-3:Applications mattclarkson$ pwd
> /Applications
> dhcp-43-3:Applications mattclarkson$ unset DYLD_LIBRARY_PATH
> dhcp-43-3:Applications mattclarkson$
> ./MitkWorkbench.app/Contents/MacOS/MitkWorkbench
> Pre-loading library "liborg_mitk_gui_qt_ext" failed: "Cannot load library
> liborg_mitk_gui_qt_ext: (dlopen(liborg_mitk_gui_qt_ext.dylib, 5): image not
> found)"
> Check your library search paths.
> Pre-loading library "libCTKDICOMCore" failed: "Cannot load library
> libCTKDICOMCore: (dlopen(libCTKDICOMCore.0.1.dylib, 5): image not found)"
> Check your library search paths.
> #Tue Mar 4 12:21:04 2014
> 0.593# [BlueBerry] ERROR: Cannot search for provisioning file, the
> retrieved directory list is empty.
> This can occur if there are some special (non-ascii) characters in the
> install path.
> #0.593# [BlueBerry] ERROR: Caught exception while initializing the
> Platform : Platform exception
> *0.593* [BlueBerry] FATAL: Platform initialization failed. Aborting...
>
> and this is my point. That all the Qt frameworks looks like they have
> @executable_path set correctly, (see attached), and all the .dylibs look
> like they have the @executable_path set correctly (see attached). But the
> app doesn't run, and it is AS IF, (it appears to me AS IF), the
> DYLD_LIBRARY_PATH needs to be set. We can't expect non-technical users to
> do this if we supply them with a .dmg file to install. Also, I noticed that
> the installed package does not have a provisioning file. So I manually
> copied one over from the build folder, and now I get:
>
>
> ./MitkWorkbench.app/Contents/MacOS/MitkWorkbench
> --BlueBerry.consoleLog
> [Tue Mar 4 12:27:06 2014
> 0.554] [BlueBerry] Framework storage dir:
> /Users/mattclarkson/Library/Application Support/DKFZ/MITK
> Workbench_221516163/
> Framework instance 1 : created
> Framework instance 1 : initializing
> Framework instance 1 : Pre-loading library "liborg_mitk_gui_qt_ext"
> with hints [ 0 ]
> Pre-loading library "liborg_mitk_gui_qt_ext" failed: "Cannot load library
> liborg_mitk_gui_qt_ext: (dlopen(liborg_mitk_gui_qt_ext.dylib, 5): image not
> found)"
> Check your library search paths.
> Framework instance 1 : Pre-loading library "libCTKDICOMCore" with hints
> [ 0 ]
> Pre-loading library "libCTKDICOMCore" failed: "Cannot load library
> libCTKDICOMCore: (dlopen(libCTKDICOMCore.0.1.dylib, 5): image not found)"
> Check your library search paths.
> Framework instance 1 : inited
> Framework instance 1 : Installed plugins:
> [0.601] [BlueBerry] Using provisioning file:
> MitkWorkbench.app/Contents/MacOS/mitkWorkbench.provisioning
> !0.601! [BlueBerry] WARNING: The plugin liborg_commontk_configadmin.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_commontk_eventadmin.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_osgi.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_compat.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin
> liborg_blueberry_core_runtime.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin
> liborg_blueberry_core_expressions.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin
> liborg_blueberry_solstice_common.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin
> liborg_blueberry_core_commands.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_ui.dylib was not
> found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_ui_qt.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_ui_qt_help.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_blueberry_ui_qt_log.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.601! [BlueBerry] WARNING: The plugin liborg_mitk_core_services.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin liborg_mitk_gui_common.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin liborg_mitk_planarfigure.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin liborg_mitk_core_ext.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_application.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin liborg_mitk_gui_qt_ext.dylib was
> not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_extapplication.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin liborg_mitk_gui_qt_common.dylib
> was not found in /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_stdmultiwidgeteditor.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_datamanager.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_properties.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> !0.602! [BlueBerry] WARNING: The plugin
> liborg_mitk_gui_qt_imagenavigator.dylib was not found in
> /Applications/MitkWorkbench.app/Contents/MacOS/plugins
> #0.602# [BlueBerry] ERROR: Cannot search for provisioning file, the
> retrieved directory list is empty.
> This can occur if there are some special (non-ascii) characters in the
> install path.
> #0.602# [BlueBerry] ERROR: Caught exception while initializing the
> Platform : Platform exception
> *0.602* [BlueBerry] FATAL: Platform initialization failed. Aborting...
>
>
>
> And then I realised:
>
> dhcp-43-3:Applications mattclarkson$ pwd
> /Applications
> dhcp-43-3:Applications mattclarkson$ ls MitkWorkbench.app/Contents/MacOS/
> MitkWorkbench libMitkCore.dylib libitkzlib-4.5.1.dylib
> libvtkImagingCore-6.0.1.dylib
> MitkWorkbench.provisioning libPocoFoundationd.22.dylib libmbilog.dylib
> libvtkImagingFourier-6.0.1.dylib
> libCTKCore.0.1.dylib libPocoJSONd.22.dylib liborg_blueberry_osgi.dylib
> libvtkImagingGeneral-6.0.1.dylib
> libCTKPluginFramework.0.1.dylib libPocoUtild.22.dylib
> libtinyxml.2.6.2.dylib libvtkImagingHybrid-6.0.1.dylib
> libCppMicroServices.2.99.0.dylib libPocoXMLd.22.dylib
> libvtkCommonComputationalGeometry-6.0.1.dylib
> libvtkImagingMath-6.0.1.dylib
> libITKCommon-4.5.1.dylib libPocoZipd.22.dylib
> libvtkCommonCore-6.0.1.dylib libvtkImagingSources-6.0.1.dylib
> libITKGDCM-4.5.1.dylib libgdcmCommon.2.2.dylib
> libvtkCommonDataModel-6.0.1.dylib libvtkImagingStencil-6.0.1.dylib
> libITKIOBMP-4.5.1.dylib libgdcmDICT.2.2.dylib
> libvtkCommonExecutionModel-6.0.1.dylib libvtkInteractionStyle-6.0.1.dylib
> libITKIOBioRad-4.5.1.dylib libgdcmDSED.2.2.dylib
> libvtkCommonMath-6.0.1.dylib libvtkInteractionWidgets-6.0.1.dylib
> libITKIOGDCM-4.5.1.dylib libgdcmIOD.2.2.dylib
> libvtkCommonMisc-6.0.1.dylib libvtkParallelCore-6.0.1.dylib
> libITKIOGIPL-4.5.1.dylib libgdcmMSFF.2.2.dylib
> libvtkCommonSystem-6.0.1.dylib libvtkRenderingAnnotation-6.0.1.dylib
> libITKIOImageBase-4.5.1.dylib libgdcmcharls.2.2.dylib
> libvtkCommonTransforms-6.0.1.dylib libvtkRenderingCore-6.0.1.dylib
> libITKIOJPEG-4.5.1.dylib libgdcmexpat.2.0.dylib
> libvtkDICOMParser-6.0.1.dylib libvtkRenderingFreeType-6.0.1.dylib
> libITKIOLSM-4.5.1.dylib libgdcmjpeg12.2.2.dylib
> libvtkFiltersCore-6.0.1.dylib libvtkRenderingFreeTypeOpenGL-6.0.1.dylib
> libITKIOMeta-4.5.1.dylib libgdcmjpeg16.2.2.dylib
> libvtkFiltersExtraction-6.0.1.dylib libvtkRenderingLabel-6.0.1.dylib
> libITKIONIFTI-4.5.1.dylib libgdcmjpeg8.2.2.dylib
> libvtkFiltersGeneral-6.0.1.dylib libvtkRenderingOpenGL-6.0.1.dylib
> libITKIONRRD-4.5.1.dylib libgdcmopenjpeg.1.4.dylib
> libvtkFiltersGeometry-6.0.1.dylib libvtkRenderingVolume-6.0.1.dylib
> libITKIOPNG-4.5.1.dylib libgdcmuuid.2.2.dylib
> libvtkFiltersHybrid-6.0.1.dylib libvtkalglib-6.0.1.dylib
> libITKIOStimulate-4.5.1.dylib libgdcmzlib.2.2.dylib
> libvtkFiltersModeling-6.0.1.dylib libvtkexpat-6.0.1.dylib
> libITKIOTIFF-4.5.1.dylib libitkNetlibSlatec-4.5.1.dylib
> libvtkFiltersParallel-6.0.1.dylib libvtkfreetype-6.0.1.dylib
> libITKIOVTK-4.5.1.dylib libitkdouble-conversion-4.5.1.dylib
> libvtkFiltersSources-6.0.1.dylib libvtkftgl-6.0.1.dylib
> libITKMesh-4.5.1.dylib libitkjpeg-4.5.1.dylib
> libvtkFiltersStatistics-6.0.1.dylib libvtkjpeg-6.0.1.dylib
> libITKMetaIO-4.5.1.dylib libitkpng-4.5.1.dylib
> libvtkFiltersTexture-6.0.1.dylib libvtkjsoncpp-6.0.1.dylib
> libITKNrrdIO-4.5.1.dylib libitksys-4.5.1.dylib libvtkIOCore-6.0.1.dylib
> libvtkmetaio-6.0.1.dylib
> libITKPath-4.5.1.dylib libitktiff-4.5.1.dylib
> libvtkIOGeometry-6.0.1.dylib libvtkpng-6.0.1.dylib
> libITKSpatialObjects-4.5.1.dylib libitkv3p_lsqr-4.5.1.dylib
> libvtkIOImage-6.0.1.dylib libvtksys-6.0.1.dylib
> libITKStatistics-4.5.1.dylib libitkv3p_netlib-4.5.1.dylib
> libvtkIOLegacy-6.0.1.dylib libvtktiff-6.0.1.dylib
> libITKVNLInstantiation-4.5.1.dylib libitkvcl-4.5.1.dylib
> libvtkIOXML-6.0.1.dylib libvtkzlib-6.0.1.dylib
> libITKniftiio-4.5.1.dylib libitkvnl-4.5.1.dylib
> libvtkIOXMLParser-6.0.1.dylib mitk-startup.log
> libITKznz-4.5.1.dylib libitkvnl_algo-4.5.1.dylib
> libvtkImagingColor-6.0.1.dylib plugins
> dhcp-43-3:Applications mattclarkson$ ls
> MitkWorkbench.app/Contents/MacOS/plugins/
> accessible bearer codecs designer graphicssystems iconengines
> imageformats qmltooling sqldrivers webkit
>
>
> So, either my build environment failed to correctly make/make install
> the MitkWorkbench.app, or the build process is currently broken for all Mac
> users.... or I am building it wrong. So, at this point, its probably not a
> valid way of testing why our app also has the problems with not being able
> to pre-load libraries.
>
>
> Matt
>
>
>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users