[vtkusers] cannot build vtk snapshot with python SIP wrappers

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Thu Sep 23 08:34:45 EDT 2010


hi folks, I am trying to build one snapshot from yesterday with SIP
bindings enabled but I got this error:

[ 99%] Built target QVTK
[ 99%] Generating sipQVTKPythonQVTKWidget.cpp,
sipQVTKPythonQVTKInteractor.cpp,
sipQVTKPythonQVTKInteractorAdapter.cpp,
sipQVTKPythonvtkQtAbstractModelAdapter.cpp,
sipQVTKPythonvtkQtAnnotationLayersModelAdapter.cpp,
sipQVTKPythonvtkQtTableModelAdapter.cpp,
sipQVTKPythonvtkQtTreeModelAdapter.cpp, sipQVTKPythoncmodule.cpp
Scanning dependencies of target QVTKPython
[ 99%] Building CXX object
GUISupport/Qt/CMakeFiles/QVTKPython.dir/sipQVTKPythonQVTKWidget.cpp.o
sipQVTKPythonQVTKWidget.cpp: In function ‘void
dealloc_QVTKWidget(sipSimpleWrapper*)’:
sipQVTKPythonQVTKWidget.cpp:2775:43: error: ‘const struct sipAPIDef’
has no member named ‘api_get_address’
sipQVTKPythonQVTKWidget.cpp:2779:28: error: ‘const struct sipAPIDef’
has no member named ‘api_get_address’
make[2]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/sipQVTKPythonQVTKWidget.cpp.o]
Error 1
make[1]: *** [GUISupport/Qt/CMakeFiles/QVTKPython.dir/all] Error 2
make: *** [all] Error 2

I need some help with this, I really need to use QVTKWidget from python.
my versions of PyQt and SIP are:
    PyQT: 4.7.7
   SIP: 4.11.1

any suggestions?

-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list