[vtkusers] cannot build vtk snapshot with python SIP wrappers

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Thu Sep 23 09:21:59 EDT 2010


yes, I am using arch linux with theese packages versions:

Qt: 4.6.3
PyQt: 4.7.4
SIP: 4.10.5

but when I configure the build process I use version 4.11.1 of sip

On 9/23/10, David Gobbi <david.gobbi at gmail.com> wrote:
> I did some searching, and the api_get_address() method is new in sip 4.11.
>
> Do you have more than one copy of SIP on your system?  Because it
> looks like the code is being generated by one version of SIP, but the
> compiler is finding a sip.h from a different version of SIP.
>
> I've been building VTK with sip-4.10.5 and Qt 4.6.3.
>
>   David
>
>
> On Thu, Sep 23, 2010 at 6:34 AM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> 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
>> -----------------------------------------------------------------
>> _______________________________________________
>> 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
>>
>


-- 
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