<div dir="ltr">Can you attach your CMakeCache.txt please?<div><br></div><div>Thanks</div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 7:26 AM, Bishwajit Dutta <span dir="ltr"><<a href="mailto:bdutta@vt.edu" target="_blank">bdutta@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi All,<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I configured paraview to compile for CPU rendering with the below option on ubuntu 14.04 and Python 2.7.6:</div><div class="gmail_default"><div class="gmail_default"><br></div><div class="gmail_default">cmake ../ -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DPARAVIEW_ENABLE_CATALYST=ON -DPARAVIEW_ENABLE_PYTHON=ON -DPYTHON_LIBRARY=$PYTHON_<wbr>LIBRARY -DPYTHON_INCLUDE_DIR=$PYTHON_<wbr>INCLUDE_DIR -DPARAVIEW_USE_MPI=ON -DMPI_HEADER_PATH=$MPI_HEADER_<wbr>PATH -DCMAKE_INSTALL_PREFIX=$BD_<wbr>INSTALL_PATH -DPARAVIEW_BUILD_QT_GUI=OFF -DVTK_USE_X=OFF -DOPENGL_INCLUDE_DIR=$BD_<wbr>INSTALL_PATH/include -DOPENGL_gl_LIBRARY=$BD_<wbr>INSTALL_PATH/lib/libOSMesa.so -DOPENGL_glu_LIBRARY=$BD_<wbr>INSTALL_PATH/lib/libGLU.so -DVTK_OPENGL_HAS_OSMESA=ON -DOSMESA_INCLUDE_DIR=$BD_<wbr>INSTALL_PATH/include -DOSMESA_LIBRARY=$BD_INSTALL_<wbr>PATH/lib/libOSMesa.so</div><div style="font-size:small"><br></div></div><div class="gmail_default" style="font-size:small">Now I am getting the below compilation error:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">----------------------------<wbr>LOGs--------------------------<wbr>-----------</div><div class="gmail_default" style="font-size:small">#make</div><div class="gmail_default" style="font-size:small">................</div><div class="gmail_default" style="font-size:small">...............</div><div class="gmail_default" style="font-size:small"><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o: In function `PyVTKTemplate_Keys(_object*, _object*)':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1511): undefined reference to `PyArg_ParseTuple'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1527): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1534): undefined reference to `PyList_New'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x156c): undefined reference to `PyDict_Next'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1597): undefined reference to `PyList_Append'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o: In function `PyVTKTemplate_Size(_object*)'<wbr>:</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x15c5): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x160c): undefined reference to `PyDict_Next'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o: In function `PyVTKTemplate_New':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1679): undefined reference to `PyType_Ready'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1691): undefined reference to `PyTuple_New'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x169c): undefined reference to `PyString_FromString'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o: In function `PyVTKTemplate_AddItem':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x172c): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x173a): undefined reference to `PyDict_SetItemString'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x174a): undefined reference to `PyExc_TypeError'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+<wbr>0x1759): undefined reference to `PyErr_SetString'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o: In function `PyVTKTemplate_Repr(_object*)'<wbr>:</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x4a)<wbr>: undefined reference to `PyString_FromFormat'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o:(.data.<wbr>rel+0x8): undefined reference to `PyType_Type'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o:(.data.<wbr>rel+0x90): undefined reference to `PyObject_GenericGetAttr'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>PyVTKTemplate.cxx.o:(.data.<wbr>rel+0x100): undefined reference to `PyModule_Type'</div><div class="gmail_default">CMakeFiles/<wbr>vtkWrappingPythonCore.dir/<wbr>vtkSmartPyObject.cxx.o: In function `vtkSmartPyObject::~<wbr>vtkSmartPyObject()':</div><div class="gmail_default">vtkSmartPyObject.cxx:(.text+<wbr>0x35): undefined reference to `Py_IsInitialized'</div><div class="gmail_default">collect2: error: ld returned 1 exit status</div><div class="gmail_default">make[2]: *** [lib/<wbr>libvtkWrappingPython27Core-<wbr>pv5.0.so.1] Error 1</div><div class="gmail_default">make[1]: *** [VTK/Wrapping/PythonCore/<wbr>CMakeFiles/<wbr>vtkWrappingPythonCore.dir/all] Error 2</div><div class="gmail_default">make: *** [all] Error 2</div><div class="gmail_default"><br></div><div class="gmail_default">------------------------------<wbr>------------------------------<wbr>--------------</div><div class="gmail_default"><br></div><div class="gmail_default">I have set the python lib and include paths. And also took care to do "apt-get install python-dev".</div><div class="gmail_default"><br></div><div class="gmail_default">Thank you in advance for help as I am new and running out of ideas.</div><div class="gmail_default"><br></div><div class="gmail_default">Also do the configuration options look ok for CPU based rendering?</div><div class="gmail_default"><br></div><div class="gmail_default">BR,</div><div class="gmail_default">Bishwajit</div><div class="gmail_default"><br></div></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>