Well, you are running the bleeding-edge MITK, so documentation might be a bit sparse for some parts... The MITK-MainApp-GettingStarted PDF was written for the Qt3 based application, which saw its last release in MITK 0.12.2. Much has changed since then.
>From your output I deduce that you enabled OPENCHERRY_BUILD_TESTING or >OPENCHERRY_BUILD_ALL_PLUGINS. This builds more then one plug-in which >contributes an "application", hence you must provide the application id on the >command line, ExtApp --openCherry.application=org.mitk.qt.application "--" would be replaced with "/" on Windows, but I guess on MacOS it is the same. More documentation about MITK and the application framework can usually be found at www.mitk.org (the OpenCherry section) and at http://docs.mitk.org/nightly-qt4/ (which will work again tomorrow). And this users list of course ;-) Cheers, Sascha > -----Ursprüngliche Nachricht----- > Von: kent williams [mailto:[email protected]] > Gesendet: Dienstag, 6. Oktober 2009 17:24 > An: Zelzer Sascha > Cc: [email protected] > Betreff: Re: [mitk-users] MITK on OS X -- Got It built, now nothing > runs? > > OK, well running the application inside the build tree gets a bit > farther. Now I get > > ! 0.02! WARNING: File not found: /raid0/homes/kent/.CoreApp > ! 0.04! WARNING: You must provide an application id via > "openCherry.application=<id>" > [ 0.04] Possible application ids are: > [ 0.04] org.mitk.qt.application > [ 0.04] coretestapplication > [ 0.04] uitestapplication > > Now obviously, I'm missing something but the only documentation I can > find is the MITK-MainApp-GettingStarted PDF file and it refers to > running 'MainApp.exe' which is, of course, not going to exist on OS X > or Linux. And there's nothing built called 'MainApp' in my build. > > If you have a better pointer to getting started than that PDF file, let > me know! > > > On Tue, Oct 6, 2009 at 10:06 AM, Zelzer Sascha > <[email protected]> wrote: > > Okay, I think nobody ever tried to do a "make install" on MacOS, so > it is possible that the META-INF directories are indeed missing. Just > try to start the ExtApp from within the binary tree (just do "make > ExtApp" or "make" and "./bin/ExtApp"). > > > > I am afraid that nobody here has got some spare time for working on a > proper "install" on MacOS right now, but you are very welcome to enter > a bug report and attach some patches. > > > > Regards, > > Sascha > > > >> -----Ursprüngliche Nachricht----- > >> Von: kent williams [mailto:[email protected]] > >> Gesendet: Dienstag, 6. Oktober 2009 16:28 > >> An: Zelzer Sascha > >> Cc: [email protected] > >> Betreff: Re: [mitk-users] MITK on OS X -- Got It built, now nothing > >> runs? > >> > >> 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® 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® 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
