[vtkusers] about SIP python bindings

Clinton Stimpson clinton at elemtech.com
Tue Sep 28 10:50:57 EDT 2010


On Tuesday, September 28, 2010 08:28:41 am Lic. José M. Rodriguez Bacallao 
wrote:
> hi folks, I am very excited  with the new python bindings for
> QVTKWidget(2) in vtk. I have built vtk with sip support, the problem
> is as I mentioned in a past mail that I cannot have two different
> versions of sip installed, so I remove sip 4.10.5 and installed sip
> 4.11.1. the problem is that for building vtk sip bindings, sip must be
> installed in a standard location, at least sip.h header file must be
> in /usr/include/python2.x/ or need to have a link to it in that path.
> No matter if with cmake I specified that all sip things are in other
> loacation than standard, vtk (cmake) keep thinking that is installed
> in a standard location, how can I avoid this?

If you want your own sip, that's fine.  I suggest you also have your own python 
to install that sip in.  Then you should probably build your own PyQt on that 
new version of sip.
Is there a reason you need that version of sip?
Also, there is a SIP_INCLUDE_DIR cmake variable for pointing to a sip.h file.

Clint



More information about the vtkusers mailing list