[Paraview-developers] paraview build problem

Pandu tech pandu4tech at gmail.com
Wed Nov 7 11:44:31 EST 2012


Hi,

I am trying to build latest version of ParaView. I added the following
CMAKE flags
                -DPYTHON_EXECUTABLE=${TEMP_DIR}/Python-2.6.2/python \
                -DPYTHON_INCLUDE_DIR=${TEMP_DIR}/Python-2.6.2/Include \
                -DPYTHON_INCLUDE=${TEMP_DIR}/Python-2.6.2/Include \
                -DPYTHON_LIBRARY=${TEMP_DIR}/Python-2.6.2/Lib \

and now paraview takes python lib from
-- Found PythonLibs: /home/user/customParaView/build/Python-2.6.2/Lib

Paraview build failed with following error:

/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:773:
undefined reference to `PySequence_Check'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:776:
undefined reference to `PySequence_Size'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:788:
undefined reference to `PySequence_GetItem'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:805:
undefined reference to `PySequence_SetItem'

home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:450:
undefined reference to `PyString_AsString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:491:
undefined reference to `PyInt_FromLong'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579:
undefined reference to `PyExc_TypeError'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579:
undefined reference to `PyErr_SetString'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:582:
undefined reference to `PyString_FromStringAndSize'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:593:
undefined reference to `PyTuple_New'
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:600:
undefined reference to `PyDict_SetItem'

These macros or strings are used in many files in Python dir.

Please share any inputs regarding this.

-- 
Thanks,
Pandu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20121107/d3cc4e19/attachment-0001.htm>


More information about the Paraview-developers mailing list