Hi Tom,

On Mon, Dec 3, 2012 at 11:43 AM, Tom T <tomt...@yahoo.com> wrote:
> Hi everyone,
> I've been trying so far unsuccessfully to compile paraview and I'm not sure
> what the error message means.
> [snip]
> /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
> In member function ‘virtual bool
> vtkMatplotlibMathTextUtilities::StringToPath(const char*, vtkPath*,
> vtkTextProperty*)’:
> /scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:581:
> error: ‘Py_ssize_t’ was not declared in this scope

Py_ssize_t is a type defined by the python C API, but it looks like it
wasn't introduced until Python 2.5, so I'm guess that you have an
older version of python installed? What is the output of "python

The matplotlib library requires python >= 2.6, so if your python is
older than this, you'll need to update your python installation, or
disable matplotlib in the ParaView build by editing
CMake/VTKModules.cmake and commenting out this section (around line

# Enable vtkRenderingMatplotlib for math text rendering if python is available
  list (APPEND _vtk_modules vtkRenderingMatplotlib)

I'll push a patch to only enable the matplotlib module when python is
an appropriate version.

Thanks for the report!

Powered by www.kitware.com

Visit other Kitware open-source projects at 

Please keep messages on-topic and check the ParaView Wiki at: 

Follow this link to subscribe/unsubscribe:

Reply via email to