[vtkusers] sipQVTKPythonQVTKWidget.cpp build problem
David Gobbi
david.gobbi at gmail.com
Thu Aug 5 12:59:37 EDT 2010
What's your SIP_PYQT_DIR set to in your cmake cache? Can you find
QtCore/QtCoremod.sip in that directory? On my system,
SIP_PYQT_DIR:PATH=/System/Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4
/System/Library/Frameworks/Python.framework/Versions/2.6/share/sip/PyQt4/QtCore/QtCoremod.sip
I usually don't like installing things in /System/Library, but that's
where I let PyQt and Sip put all their stuff.
David
On Thu, Aug 5, 2010 at 10:54 AM, Eric E. Monson <emonson at cs.duke.edu> 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.sip
>>> 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
>
> _______________________________________________
> 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