[vtk-developers] building w/ sip, Qt errors
Clinton Stimpson
clinton at elemtech.com
Sat Aug 21 21:18:14 EDT 2010
Shouldn't you have this?
SIP_PYQT_DIR:PATH=/System/Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4
Its not complaining about the C++ header from your Qt installation. The
error is coming from .sip files.
Clint
On 08/21/2010 05:52 PM, Randy Heiland wrote:
> Trying to build recent git (8/20/10) w/ sip: -DVTK_USE_QT=ON -DVTK_WRAP_PYTHON=ON -DVTK_WRAP_PYTHON_SIP=ON -DSIP_EXECUTABLE=/System/Library/Frameworks/Python.framework/Versions/2.6/bin/sip ...
>
> and get the following compile error:
>
> [ 90%] Built target QVTK
> [ 90%] Generating sipQVTKPythonQVTKWidget.cpp, sipQVTKPythonQVTKInteractor.cpp, sipQVTKPythonQVTKInteractorAdapter.cpp, sipQVTKPythonvtkQtAbstractModelAdapter.cpp, sipQVTKPythonvtkQtAnnotationLayersModelAdapter.cpp, sipQVTKPythonvtkQtTableModelAdapter.cpp, sipQVTKPythonvtkQtTreeModelAdapter.cpp, sipQVTKPythoncmodule.cpp
> sip: QFileIconProvider is undefined
> make[2]: *** [GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Error 1
> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
>
> in my cmakecache:
> QT_QTGUI_INCLUDE_DIR:PATH=/usr/local/Trolltech/Qt-4.7.0/include/QtGui
> SIP_PYQT_DIR:PATH=/Users/heiland/dev/Python/PyQt-mac-gpl-4.7.4/sip
>
> and indeed I have:
> -rw-r--r--@ 1 root wheel 31 Aug 19 17:30 /usr/local/Trolltech/Qt-4.7.0/include/QtGui/QFileIconProvider
>
> ls /Users/heiland/dev/Python/PyQt-mac-gpl-4.7.4/sip
> Qt/ QtDesigner/ QtMultimedia/ QtScript/ QtSvg/ QtXml/ pyqt-gpl.sip
> QtAssistant/ QtGui/ QtNetwork/ QtScriptTools/ QtTest/ QtXmlPatterns/
> QtCore/ QtHelp/ QtOpenGL/ QtSql/ QtWebKit/ phonon/
>
> Also have env var:
> QTDIR=/usr/local/Trolltech/Qt-4.7.0
>
>
> Saw the thread at http://comments.gmane.org/gmane.comp.lib.vtk.user/50529
> but unsure of definite solution. I've built Qt 4.7.0beta2 from source.
>
> thanks, Randy
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list