[vtk-developers] Python C API mismatch?

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Sep 20 10:57:36 EDT 2002


>>>>> "DJB" == Daniel J Blezek <Blezek> writes:

    DJB> Could a kind, more experienced Python user tell me what to
    DJB> make of this: <snip> {pragmatic:Source}1082:python2 -i
    DJB> Test.py WARNING: Python C API version mismatch for module
    DJB> libvtkCommonPython: This Python has API version 1010, module
    DJB> libvtkCommonPython has version 1007.  </snip>

    DJB> I changed my CMakeCache.txt to use Python 2.1 headers and
    DJB> libs and recompiled, as I wanted to use some features of 2.1
    DJB> rather than 1.5.1.

Did you make a clean build?  i.e. did you run make clean && make?  It
looks like the module (or part of it) still is using the older header
files.

cheers,
prabhu




More information about the vtk-developers mailing list