Compiling with Python (2.6) fails
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I get the following when trying to compile PV with Python support. I had the same with the 3.12 version. Any ideas?
/home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx: In function ‘void vtkPythonAppInitPrependPath(const char*)’: /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:126: error: expected ‘}’ before ‘PARAVIEW_VERSION’ /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:126: error: expected ‘,’ or ‘;’ before ‘PARAVIEW_VERSION’ /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:148: error: ‘PV_PYTHON_PACKAGE_DIR’ was not declared in this scope /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:161: error: ‘inst_dirs’ was not declared in this scope /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx: At global scope: /home/path/to/ressources/ParaView-3.14.0-Source/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:203: error: expected declaration before ‘}’ token make[2]: *** [Utilities/VTKPythonWrapping/Executable/CMakeFiles/vtkPVPythonInterpretor.dir/vtkPVPythonInterpretor.cxx.o] Erreur 1 make[1]: *** [Utilities/VTKPythonWrapping/Executable/CMakeFiles/vtkPVPythonInterpretor.dir/all] Erreur 2 make: *** [all] Erreur 2
I can provide more details about the system if necessary. For now: $ python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2