Hi David,

at the moment we are developing MITK with Mac OS X Lion and Snow Leopard. I am 
using Lion and I am able to run the ExtApp by double click or from the command 
line. I tried to build the ExtApp with an installed Qt SDK (this is already 
some time ago) and with a self built Qt 4.7.4 and 4.8.0 and it all worked. 
Anyway I would recommend to build it by yourself.

To be clear about your problem: Is your superbuild running without errors? Just 
the ExtApp can't be started?

Which version of Mac OS are you using? Are you developing with Xcode or 
QtCreator or something else? I myself use the QtCreator. Could you check which 
compiler you are using? I am using llvm-gcc-4.2.

Or did you change anything with the cmake settings?

Regards
Andreas

On 31.01.2012, at 10:29, David Marshall wrote:

After changing the superbuild to Release, I got further... but now I get the 
following when running ExtApp:

Pre-loading library "liborg_mitk_gui_qt_ext" failed
basic_string::substr
*Tue Jan 31 20:05:55 2012
0.208* [BlueBerry] FATAL: The org.blueberry.osgi plug-in is not started. Check 
that your application loads the correct provisioning file and that it contains 
an entry for the org.blueberry.osgi plug-in.

David

On 31/01/2012, at 9:16 AM, Miklos Espak wrote:

Hi David,

please keep the conversation on the list.

If you downloaded Qt from the official site then it must contain both  the 
debug and the release version of the libraries. If you eventually compiled it 
for yourself, you had to supply it as a parameter which version you want.

I suggest you to check the CMakeCache.txt in the MITK-superbuild folder. Check 
the values of the Qt related variables, e.g. QT_QTCORE_LIBRARY_RELEASE, or 
QT_QMAKE_EXECUTABLE, to see which Qt version did you use for building MITK.

Check also the value of the CMAKE_BUILD_TYPE variable.

It seems that you have a Release version Qt and you built MITK in Debug mode 
(that is the default). If this is the case, start the build in a new folder but 
change the CMAKE_BUILD_TYPE variable to Release at the superbuild level, before 
building the application.

Miklos

On Mon, Jan 30, 2012 at 10:46 PM, David Marshall 
<[email protected]<mailto:[email protected]>> wrote:
Miklos,

After trying to run ExtApp from the terminal (rather than double-clicking on 
the executable) I get better feedback on what might be going wrong:

Following a long series of messages such as this...

"The plugin 
'/Users/davidmarshall/MITK-superbuild/MITK-build/bin/plugins/liborg_mitk_gui_qt_imagenavigator.dylib'
 uses incompatible Qt library. (Cannot mix debug and release libraries.)"

I get a message like this...

"FATAL: The org.blueberry.osgi plug-in is not started. Check that your 
application loads the correct provisioning file and that it contains an entry 
for the org.blueberry.osgi plug-in."

I'm going to try to figure out if I have an incorrect version of Qt somehow.

David

On 31/01/2012, at 8:39 AM, Miklos Espak wrote:

It works here.
What error do you get?

Miklos

On Mon, Jan 30, 2012 at 10:30 PM, David Marshall 
<[email protected]<mailto:[email protected]>> wrote:
I have been struggling to build MITK and run ExtApp on Mac, with no 
modification. My next step would be the ubiquitous "Hello World" type of 
minimal modification of ExtApp... but I haven't been able to get that far.

Can someone confirm that they are able to build MITK and run ExtApp on their 
Mac... using the superbuild process (ie cmake)?

Or... are the Mac developers out there using a different process?

David
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users




------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to