<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Utkarsh,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Pls find it attached.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thank you so much.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">-Bishwajit</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 8:26 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</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">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_LIBRA<wbr>RY -DPYTHON_INCLUDE_DIR=$PYTHON_I<wbr>NCLUDE_DIR -DPARAVIEW_USE_MPI=ON -DMPI_HEADER_PATH=$MPI_HEADER_<wbr>PATH -DCMAKE_INSTALL_PREFIX=$BD_INS<wbr>TALL_PATH -DPARAVIEW_BUILD_QT_GUI=OFF -DVTK_USE_X=OFF -DOPENGL_INCLUDE_DIR=$BD_INSTA<wbr>LL_PATH/include -DOPENGL_gl_LIBRARY=$BD_INSTAL<wbr>L_PATH/lib/libOSMesa.so -DOPENGL_glu_LIBRARY=$BD_INSTA<wbr>LL_PATH/lib/libGLU.so -DVTK_OPENGL_HAS_OSMESA=ON -DOSMESA_INCLUDE_DIR=$BD_INSTA<wbr>LL_PATH/include -DOSMESA_LIBRARY=$BD_INSTALL_P<wbr>ATH/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">----------------------------LO<wbr>Gs----------------------------<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/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_Keys(_object*, _object*)':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x151<wbr>1): undefined reference to `PyArg_ParseTuple'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x152<wbr>7): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x153<wbr>4): undefined reference to `PyList_New'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x156<wbr>c): undefined reference to `PyDict_Next'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x159<wbr>7): undefined reference to `PyList_Append'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_Size(_object*)'<wbr>:</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x15c<wbr>5): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x160<wbr>c): undefined reference to `PyDict_Next'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_New':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x167<wbr>9): undefined reference to `PyType_Ready'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x169<wbr>1): undefined reference to `PyTuple_New'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x169<wbr>c): undefined reference to `PyString_FromString'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o: In function `PyVTKTemplate_AddItem':</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x172<wbr>c): undefined reference to `PyModule_GetDict'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x173<wbr>a): undefined reference to `PyDict_SetItemString'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x174<wbr>a): undefined reference to `PyExc_TypeError'</div><div class="gmail_default">PyVTKTemplate.cxx:(.text+0x175<wbr>9): undefined reference to `PyErr_SetString'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/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/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o:(.<wbr>data.rel+0x8): undefined reference to `PyType_Type'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o:(.<wbr>data.rel+0x90): undefined reference to `PyObject_GenericGetAttr'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/PyVTKTemplate.cxx.o:(.<wbr>data.rel+0x100): undefined reference to `PyModule_Type'</div><div class="gmail_default">CMakeFiles/vtkWrappingPythonCo<wbr>re.dir/vtkSmartPyObject.cxx.o: In function `vtkSmartPyObject::~vtkSmartPy<wbr>Object()':</div><div class="gmail_default">vtkSmartPyObject.cxx:(.text+0x<wbr>35): 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/libvtkWrappingPython27Cor<wbr>e-pv5.0.so.1] Error 1</div><div class="gmail_default">make[1]: *** [VTK/Wrapping/PythonCore/CMake<wbr>Files/vtkWrappingPythonCore.<wbr>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/opensou<wbr>rce/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/ParaV<wbr>iew</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/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>