Thanks guys / I forgot to change CMAKE_OSX_ARCHITECTURES ! I was able to build paraview 32 and 64 bit. However, I have this error when launching :

Unimac:~ podallaire$ /Applications/ParaView\ 3.5.0.app/Contents/MacOS/ paraview objc[83608]: Class QMacSoundDelegate is implemented in both /opt/ qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/ Versions/4/QtGui. Using implementation from /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaPanel is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaView is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaWindow is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaWindowDelegate is implemented in both /opt/ qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/ Versions/4/QtGui. Using implementation from /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaMenuLoader is implemented in both /opt/ qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/ Versions/4/QtGui. Using implementation from /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaApplicationDelegate is implemented in both / opt/qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. Using implementation from / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaToolBarDelegate is implemented in both /opt/ qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/ Versions/4/QtGui. Using implementation from /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaMenu is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaColorPanelDelegate is implemented in both / opt/qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. Using implementation from / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSOpenSavePanelDelegate is implemented in both / opt/qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. Using implementation from / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaFontPanelDelegate is implemented in both /opt/ qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/ Versions/4/QtGui. Using implementation from /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSWindowProxy is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSPanelProxy is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaPageLayoutDelegate is implemented in both / opt/qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. Using implementation from / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. objc[83608]: Class QCocoaPrintPanelDelegate is implemented in both / opt/qt-4.5.0-cocoa/lib/QtGui.framework/Versions/4/QtGui and / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. Using implementation from / Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/ QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSMenu is implemented in both /opt/qt-4.5.0-cocoa/ lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSStatusItem is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui. objc[83608]: Class QNSImageView is implemented in both /opt/qt-4.5.0- cocoa/lib/QtGui.framework/Versions/4/QtGui and /Applications/ParaView 3.5.0.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/ QtGui. Using implementation from /Applications/ParaView 3.5.0.app/ Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui.
QApplication::qAppName: Please instantiate the QApplication object first
QPixmap: Must construct a QApplication before a QPaintDeviceAbort trap

Do I need to patch something else ?

Regards,

PO

On 11-Apr-09, at 3:26 PM, Michael Jackson wrote:

You need to set the CMAKE_OSX_ARCHITECTURES to x86_64. By default they build as i386 (32 bit)

I would also suggest NOT building with Python at first. See if you can actually get the 64 bit to build first, then start adding things.

I have already run into a number of issues with the cocoa build of Qt 4.5. QTreeViews do not respond to user clicks and there are also menu issues within applications. Drag and Drop seems pretty buggy also. I think I'll probably wait for the next few point releases in Qt 4.5 before trying again.

Good luck. Keep the list posted on how things go as there are more than a few people interested in the technology.

_________________________________________________________
Mike Jackson                  [email protected]
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Apr 11, 2009, at 11:22 AM, Pierre-Olivier Dallaire wrote:

4) In the configuration process, enabled VTK_USE_64BIT_IDS, BUILD_SHARED_LIBS and PARAVIEW_ENABLE_PYTHON


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to