Hi Daniel,

thank you for your efforts.

I builded a Release version from mitk rev. 16911 with MacOS 10.5.6, CMake 2.6.3, ITK 3.12, VTK 5.2.1, Qt 4.5.0 and XCode gcc 4.0. MainApp launches now. I am very happy! But there are a few problems remaining which oversalt my cherry soup. ;)

1. The MainApp window gets drawn to high on the display. There is no way to shift it downwards so i can see the upper edge of the window.

2. Crash when open a JPEG. There is the glViewport again when the viewport gets resized. I had the same error when i failed to launch the MainApp with qt3 a few weeks ago.
#0      0x936cdf99 in glViewport
#1      0x01ad7437 in mitk::VtkPropRenderer::Resize
#2      0x089e3a90 in QmitkRenderWindow::resizeEvent
#3      0x0304efce in QWidget::event
#4      0x02db01e9 in QVTKWidget::event
#5      0x03002a7f in QApplicationPrivate::notify_helper
#6      0x0300989c in QApplication::notify
#7      0x03b56ab2 in QCoreApplication::notifyInternal
#8      0x02fa76ef in QWidgetPrivate::setGeometry_sys_helper
#9      0x02fa78ac in QWidgetPrivate::setGeometry_sys
#10     0x0304caae in QWidget::setGeometry
#11     0x0302c0bc in QWidgetItem::setGeometry
#12     0x030225d3 in QGridLayoutPrivate::distribute
#13     0x030226ca in QGridLayout::setGeometry
...

3. Crash when open 3D image .../Testing/Data/Pic3D.pic.gz:
#0      0x9693841a in inflate_fast
#1      0x96935b61 in inflate
#2      0x969356de in gzread
#3      0x007fc891 in mitkIpPicFReadCvt
#4      0x007fa052 in mitkIpPicGetHeader
#5      0x019f0576 in mitk::PicFileReader::GenerateOutputInformation
#6      0x05aef083 in itk::ProcessObject::UpdateOutputInformation
#7      0x010a9def in mitk::BaseData::UpdateOutputInformation
#8      0x011d90d2 in mitk::SlicedData::UpdateOutputInformation
#9      0x05acca82 in itk::DataObject::Update
#10     0x019621bc in mitk::BaseDataIO::LoadBaseDataFromFile
#11     0x01248ec9 in mitk::DataTreeNodeFactory::GenerateData
#12     0x05aec9c3 in itk::ProcessObject::UpdateOutputData
#13     0x05accb0e in itk::DataObject::UpdateOutputData
#14     0x06fefb49 in QmitkFileOpenAction::Run
...

4. Crash when open 2D image .../Testing/Data/Pic2DPlusT.pic.gz:
#0      0x007fc738 in _mitkIpCvtEndian
#1      0x007fc8a7 in mitkIpPicFReadCvt
#2      0x007fa052 in mitkIpPicGetHeader
#3      0x019f0576 in mitk::PicFileReader::GenerateOutputInformation
#4      0x05aef083 in itk::ProcessObject::UpdateOutputInformation
#5      0x010a9def in mitk::BaseData::UpdateOutputInformation
#6      0x011d90d2 in mitk::SlicedData::UpdateOutputInformation
#7      0x05acca82 in itk::DataObject::Update
#8      0x019621bc in mitk::BaseDataIO::LoadBaseDataFromFile
#9      0x01248ec9 in mitk::DataTreeNodeFactory::GenerateData
#10     0x05aec9c3 in itk::ProcessObject::UpdateOutputData
#11     0x05accb0e in itk::DataObject::UpdateOutputData
#12     0x06fefb49 in QmitkFileOpenAction::Run
...

5. Crash when switching to view Interactive Segmentation:
#0      0x074ff53a in QmitkSlicesInterpolator::Initialize
#1      0x1d19edf8 in QmitkInteractiveSegmentationView::CreateQtPartControl
#2      0x1c8efd51 in QmitkFunctionality::CreatePartControl
#3      0x00624f13 in cherry::ViewReference::CreatePartHelper
#4      0x006259df in cherry::ViewReference::CreatePart
#5      0x0065ff36 in cherry::WorkbenchPartReference::GetPart
#6      0x005e5bd6 in cherry::Perspective::ShowView
#7      0x00646ca3 in cherry::WorkbenchPage::BusyShowView
#8      0x006474d1 in cherry::WorkbenchPage::ShowView
#9      0x0063abf6 in cherry::WorkbenchPage::ShowView
#10     0x06f70ecd in cherry::QtShowViewAction::Run
#11     0x06f79c1b in cherry::QtShowViewAction::qt_metacall
#12     0x03b29f5c in QMetaObject::activate
#13     0x02fbc72c in QAction::triggered
#14     0x02fbe88f in QAction::activate
#15     0x02f9bda9 in qt_mac_activate_action
...

Regards,

Andreas

Am 10.04.2009 um 21:46 schrieb Maleike Daniel:

Hi Andreas,

I'm currently trying to build Qt4 MainApp for MacOS.
The summary of the current situation is:

- MacOS 10.5.6, gcc 4.0.1, CMake 2.6.3, ITK 3.12, VTK 5.2.1, Qt 4.5.0
- I have a couple of local patches, one/two questions about code changes I had to make - changes will be comitted next week, then MainApp with all bundles and tests will build
 (http://my.cdash.org/buildSummary.php?buildid=18035)
- The application crashes after loading an image / creating a renderwindow -- perhaps also a problem with rendering
- havn't started XCode yet, hope this will help debugging

Regards
Daniel


-----Ursprüngliche Nachricht-----
Von: Andreas Hahn [mailto:[email protected]]
Gesendet: Fr 4/10/2009 12:34
An: [email protected]
Betreff: Re: [mitk-users] Installation with Mac OS X

Is there a way to debug qt3 in XCode? Is it useful to try mitk on
MacOS with qt4.5? If yes, how does qt4 use this glViewport?

I won't give up!!




------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to