Bug created: http://paraview.org/Bug/view.php?id=13700
On Tue, Dec 4, 2012 at 8:44 AM, David Lonie <david.lo...@kitware.com> wrote: > 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 > --version"? > > 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 > 350): > > # Enable vtkRenderingMatplotlib for math text rendering if python is available > if (PARAVIEW_ENABLE_PYTHON) > list (APPEND _vtk_modules vtkRenderingMatplotlib) > endif() > > I'll push a patch to only enable the matplotlib module when python is > an appropriate version. > > Thanks for the report! > > Dave _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview