[vtk-developers] building w/ sip, Qt errors
Randy Heiland
heiland at indiana.edu
Sat Aug 21 19:52:20 EDT 2010
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
More information about the vtk-developers
mailing list