MantisBT - ParaView
View Issue Details
0012962ParaView(No Category)public2012-02-23 06:002016-08-12 09:59
Arno Mayrhofer 
Kitware Robot 
normalminorhave not tried
closedmoved 
3.14 
 
TBD
incorrect functionality
0012962: Compiling with Python (2.6) fails
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
No tags attached.
Issue History
2012-02-23 06:00Arno MayrhoferNew Issue
2016-08-12 09:59Kitware RobotNote Added: 0038147
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038147)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.