[vtkusers] python bindings build failed

Clinton Stimpson clinton at elemtech.com
Tue Nov 30 14:27:51 EST 2010


On Tuesday, November 30, 2010 12:11:33 pm Lic. José M. Rodriguez Bacallao 
wrote:
> I downloaded today snapshot from vtk git repo, when I try to build it
> with the sip bindings activated I get the following error:
> 
> 
> [ 10%] Building CXX object
> Wrapping/Python/CMakeFiles/vtkPythonCore.dir/vtkPythonUtil.cxx.o
> /home/jmrbcu/installs/linux/development/imagis/vtk/VTK-HEAD-42be244/Wrappin
> g/Python/vtkPythonUtil.cxx:37: fatal error: sip.h: No such file or
> directory
> compilation terminated.
> make[2]: ***
> [Wrapping/Python/CMakeFiles/vtkPythonCore.dir/vtkPythonUtil.cxx.o] Error 1
> make[1]: *** [Wrapping/Python/CMakeFiles/vtkPythonCore.dir/all] Error 2
> make: *** [all] Error 2
> 
> I have my own build of sip (4.11.2), qt4 (4.7.1) and pyqt4 (4.8.1)
> installed under a location different from original.

Does your cmake variable SIP_INCLUDE_DIR point to your directory containing 
sip.h?

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com



More information about the vtkusers mailing list