I did this:

make && make install

I set the CMake variable CMAKE_INSTALL_PREFIX to a 'sandbox'
directory, in my case

/scratch/kent/MITK

ITK & VTK are built and installed in that directory before configuring
MITK.  Qt is also installed, but in

/scratch/kent/MITK/Qt

Since QT is a fairly cluttered install.

I am building all libraries shared, so I had to write a script to add

$root/lib
$root/lib/InsightToolkit
$root/lib/VTK
$root/bin/openCherry/*/lib

To DYLD_LIBRARY_PATH, or the CoreApp would not run.  Once I did that,
I got all the warnings & errors.


On Tue, Oct 6, 2009 at 7:09 AM, Zelzer Sascha
<[email protected]> wrote:
> Hi,
>
> looking at the output
>
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.core.commands/
>
> the path after "from" should be absolute. Did you try to "install" MITK by 
> executing the install target or did you start the executable which was build 
> inside your binary tree? In my experience with MacOS, in order to start the 
> CoreApp (or ExtApp), you would only need to set DYLD_LIBRARY_PATH to 
> "<binary-tree>/mitk/bin/openCherry/org.opencherry.osgi/bin" (if I remember it 
> correctly) and start the executable from the binary tree.
>
> Cheers,
> Sascha
>
>
> -----Original Message-----
> From: kent williams [mailto:[email protected]]
> Sent: Mon 10/5/2009 11:23 PM
> To: [email protected]
> Subject: [mitk-users] MITK on OS X -- Got It built, now nothing runs?
>
> I understand that MITK is in a state of flux with respect to OS X on
> Macintosh computers.  But...
>
> Commenting out GPGPU from MITK/Modules/CMakeLists.txt gets around the
> fact that GPGPU can't yet build on OS X native.  Building MITK and
> installing it seem to work now.  I also wrote a script to update PATH
> and {DY}LD_LIBRARY_PATH so MITK programs will be able to find all the
> necessary shared libraries.
>
>
> But if I try and run any application, e.g. CoreApp I get these
> warnings and errors.  If I understand what's going on with openCherry,
> the META-inf  directories would need to be copied into the install
> binary directory and they are not.
>
> !  0.02! WARNING: File not found: /raid0/homes/kent/.CoreApp
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.core.commands/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.core.expressions/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.core.jobs/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.core.runtime/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.osgi/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.solstice.common/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.test/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.ui/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.ui.qt/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.ui.qt.log/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from openCherry/org.opencherry.uitest/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from CoreBundles/org.mitk.core.services/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from CoreBundles/org.mitk.gui.common/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from CoreBundles/org.mitk.gui.qt.application/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from CoreBundles/org.mitk.gui.qt.common/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> -  0.02- ERROR: Exception: File not found: Could not load
> META-INF/MANIFEST.MF from CoreBundles/org.mitk.gui.qt.materialeditor/
> !  0.02! WARNING: Bundle state invalid: The bundle must be in state
> INSTALLED in order to be loaded.
> Platform exception: Could not find the system bundle
> terminate called without an active exception
> Abort
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to