[vtkusers] sipQVTKPythonQVTKWidget.cpp build problem

Clinton Stimpson clinton at elemtech.com
Thu Aug 5 13:03:33 EDT 2010


Can you change your SIP_PYQT_DIR in CMake to something like this?
/System/Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4
I'm assuming that's where your Qt .sip files were installed, when you installed 
PyQt.
I'll probably have to add another path to automatically set SIP_PYQT_DIR based 
on the python installation on Mac.

Clint

On Thursday, August 05, 2010 10:54:31 am Eric E. Monson wrote:
> Now it gives me a different error: sip: Unable to find file
> "QtCore/QtCoremod.sip"
> 
> [ 97%] Generating sipQVTKPythonQVTKWidget.cpp,
> sipQVTKPythonQVTKInteractor.cpp, sipQVTKPythoncmodule.cpp cd
> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt &&
> /System/Library/Frameworks/Python.framework/Versions/2.6/bin/sip -c
> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt -t WS_MACX -t
> Qt_4_6_0 -I
> /Users/emonson/Programming/Python/X_Installs/PyQt-mac-gpl-4.7/sip -I
> /Users/emonson/Programming/VTK_git/VTK/GUISupport/Qt -I
> /Users/emonson/Programming/VTK_git/VTK/build/Rendering -I
> /Users/emonson/Programming/VTK_git/VTK/build/Views
> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt/QVTKPython.sip
> sip: Unable to find file "QtCore/QtCoremod.sip"
> make[2]: *** [GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Error 1
> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
> make: *** [all] Error 2
> 
> Thanks,
> -Eric
> 
> On Aug 5, 2010, at 12:42 PM, Clinton Stimpson wrote:
> > On Thursday, August 05, 2010 10:20:01 am Eric E. Monson wrote:
> >> Hey all,
> >> 
> >> I'm trying to build this morning's VTK git head with the sip/pyqt4
> >> Python wrapping and it's having a problem with "sip: QFileIconProvider
> >> is undefined":
> >> 
> >> [ 97%] Generating sipQVTKPythonQVTKWidget.cpp,
> >> sipQVTKPythonQVTKInteractor.cpp, sipQVTKPythoncmodule.cpp cd
> >> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt &&
> >> /System/Library/Frameworks/Python.framework/Versions/2.6/bin/sip -c
> >> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt -t WS_MACX -t
> >> Qt_4_6_2 -I
> >> /Users/emonson/Programming/Python/X_Installs/PyQt-mac-gpl-4.7/sip -I
> >> /Users/emonson/Programming/VTK_git/VTK/GUISupport/Qt -I
> >> /Users/emonson/Programming/VTK_git/VTK/build/Rendering -I
> >> /Users/emonson/Programming/VTK_git/VTK/build/Views
> >> /Users/emonson/Programming/VTK_git/VTK/build/GUISupport/Qt/QVTKPython.si
> >> p sip: QFileIconProvider is undefined
> >> make[2]: *** [GUISupport/Qt/sipQVTKPythonQVTKWidget.cpp] Error 1
> >> make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
> >> make: *** [all] Error 2
> >> 
> >> I had just done a clean build with Qt support and the standard Python
> >> wrapping, which went fine, and then I turned on the sip wrapping for
> >> this build and it stalled at this late point...
> >> 
> >> I'm on OS X 10.6.4 using the system Python, CMake 2.9.20100113, Qt
> >> 4.6.2, PyQt4 4.7, sip 4.10. (I know I'm a little out of date on
> >> Qt/PyQt4/sip versions, so if you think that could be the problem I can
> >> start rebuilding all of that...)
> >> 
> >> If you have any ideas please let me know.
> > 
> > Can you pull from git again and try a patch of mine?
> > 
> > Clint
> > _______________________________________________
> > 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 VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list