Hi everyone,

I've been trying so far unsuccessfully to compile paraview and I'm not sure 
what the error message means. 


The compiler gets about half way done up to this point:
[ 52%] Building CXX object 
VTK/Rendering/Matplotlib/CMakeFiles/vtkRenderingMatplotlib.dir/vtkMatplotlibMathTextUtilities.cxx.o

Then he gives me a lot of warnings about converting to 'int' from 'double' and 
these eventually turn into error messages. Am I missing a plug-in or something?
Thanks for the help! I've attached the full error message to the bottom of the 
email.

-----------------------------------------------------------------------


[ 52%] Built target vtkpython_pyc
Scanning dependencies of target vtkRenderingMatplotlib
[ 52%] Building CXX object 
VTK/Rendering/Matplotlib/CMakeFiles/vtkRenderingMatplotlib.dir/vtkMatplotlibMathTextUtilities.cxx.o
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
 In member function ‘void 
vtkMatplotlibMathTextUtilities::RotateCorners(double, double (*)[2], 
double*)’:
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:308:
 warning: converting to ‘int’ from ‘double’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:309:
 warning: converting to ‘int’ from ‘double’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
 In member function ‘virtual bool 
vtkMatplotlibMathTextUtilities::GetBoundingBox(vtkTextProperty*, const 
char*, unsigned int, int*)’:
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:359:
 warning: converting to ‘long int’ from ‘double’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:
 In member function ‘virtual bool 
vtkMatplotlibMathTextUtilities::RenderString(const char*, vtkImageData*, 
vtkTextProperty*, unsigned int)’:
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:434:
 warning: converting to ‘long int’ from ‘double’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:544:
 warning: passing ‘double’ for argument 1 to ‘virtual void 
vtkImageData::SetExtent(int, int, int, int, int, int)’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:544:
 warning: passing ‘double’ for argument 2 to ‘virtual void 
vtkImageData::SetExtent(int, int, int, int, int, int)’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:544:
 warning: passing ‘double’ for argument 3 to ‘virtual void 
vtkImageData::SetExtent(int, int, int, int, int, int)’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:544:
 warning: passing ‘double’ for argument 4 to ‘virtual void 
vtkImageData::SetExtent(int, int, int, int, int, int)’
/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
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:581:
 error: expected `;' before ‘numCodes’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:582:
 error: expected `;' before ‘numVerts’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:634:
 error: ‘numVerts’ was not declared in this scope
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:635:
 error: ‘numCodes’ was not declared in this scope
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:643:
 error: expected `;' before ‘i’
/scratch/fronk/software/ParaView/VTK/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.cxx:643:
 error: ‘i’ was not declared in this scope
make[2]: *** 
[VTK/Rendering/Matplotlib/CMakeFiles/vtkRenderingMatplotlib.dir/vtkMatplotlibMathTextUtilities.cxx.o]
 Error 1
make[1]: *** 
[VTK/Rendering/Matplotlib/CMakeFiles/vtkRenderingMatplotlib.dir/all] Error 2
------------------------------------------------------------------
make: *** [all] Error 2
_______________________________________________
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

Reply via email to