Build issue with python wrapping
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There are two files with the same name in VTK and ParaView that are generated during compilation.
./VTK/Wrapping/Python/vtkPythonAppInitConfigure.h.in ./Utilities/VTKPythonWrapping/Executable/vtkPythonAppInitConfigure.h.in
vtkPVPythonInterpretor.cxx includes "vtkPythonAppInitConfigure.h" but, this is conflicting since there are two header files with the same name which leads to build errors: /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx: In function ‘void vtkPythonAppInitPrependPath(const char*)’: /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:127:27: error: expected ‘}’ before ‘PARAVIEW_VERSION’ /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:127:27: error: expected ‘,’ or ‘;’ before ‘PARAVIEW_VERSION’ /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:149:39: error: ‘PV_PYTHON_PACKAGE_DIR’ was not declared in this scope /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:162:28: error: ‘inst_dirs’ was not declared in this scope /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx: At global scope: /home/gzagaris/Dev/ParaView/Source/ParaView/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx:204:1: error: expected declaration before ‘}’ token