Pandu,<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">PYTHON_LIBRARY variable should point to the &quot;python*.lib&quot; or &quot;python*.so&quot; or &quot;python*.dylib&quot; file and not simply the directory containing that file.</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Utkarsh</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Nov 7, 2012 at 11:44 AM, Pandu tech <span dir="ltr">&lt;<a href="mailto:pandu4tech@gmail.com" target="_blank">pandu4tech@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I am trying to build latest version of ParaView. I added the following CMAKE flags<br>                -DPYTHON_EXECUTABLE=${TEMP_DIR}/Python-2.6.2/python \<br><div class="gmail_quote">                -DPYTHON_INCLUDE_DIR=${TEMP_DIR}/Python-2.6.2/Include \<br>

                -DPYTHON_INCLUDE=${TEMP_DIR}/Python-2.6.2/Include \<br>
                -DPYTHON_LIBRARY=${TEMP_DIR}/Python-2.6.2/Lib \<br><br>and now paraview takes python lib from<br>-- Found PythonLibs: /home/user/customParaView/build/Python-2.6.2/Lib<br><br>Paraview build failed with following error:<br>


<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:773: undefined reference to `PySequence_Check&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:776: undefined reference to `PySequence_Size&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:788: undefined reference to `PySequence_GetItem&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:805: undefined reference to `PySequence_SetItem&#39;<br>


<br>home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:450: undefined reference to `PyString_AsString&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458: undefined reference to `PyExc_TypeError&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458: undefined reference to `PyErr_SetString&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468: undefined reference to `PyExc_TypeError&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468: undefined reference to `PyErr_SetString&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475: undefined reference to `PyExc_TypeError&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475: undefined reference to `PyErr_SetString&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487: undefined reference to `PyExc_TypeError&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487: undefined reference to `PyErr_SetString&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:491: undefined reference to `PyInt_FromLong&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556: undefined reference to `PyExc_TypeError&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556: undefined reference to `PyErr_SetString&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579: undefined reference to `PyExc_TypeError&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579: undefined reference to `PyErr_SetString&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:582: undefined reference to `PyString_FromStringAndSize&#39;<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:593: undefined reference to `PyTuple_New&#39;<br>


/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:600: undefined reference to `PyDict_SetItem&#39;<br><br>These macros or strings are used in many files in Python dir. <br><br>Please share any inputs regarding this.<span class="HOEnZb"><font color="#888888"><span><font color="#888888"><br clear="all">


<br>-- <br>Thanks,<br>Pandu.</font></span></font></span></div>
<br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>