<div dir="ltr"><span style="font-size:12.8px">Stas,</span><br><div><br></div><div><span style="font-size:12.8px">The issue is with </span><span style="font-size:12.8px">VTK_USE_X being set to OFF. 5.4 cannot be build the Qt GUI when USE_X is off (ParaView "master" is a little more flexible there).</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Utkarsh</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 22, 2017 at 8:55 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 file please?<div><br></div><div>Thanks</div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Aug 22, 2017 at 8:15 AM, Stanislav Sergienko <span dir="ltr"><<a href="mailto:sysergie@gmail.com" target="_blank">sysergie@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>I am trying to install ParaView 5.4.0 as part of OpenFOAM 5.0 on 
CentOS 7. I think I need to build it with QT Gui otherwise my PVReaders 
are failing to build.<br><br></div>Here are my build options:<br><br>./makeParaView BUILD_SHARED_LIBS=ON \<br>VTK_USE_RPATH:BOOL=OFF \<br>PARAVIEW_BUILD_QT_GUI=ON \<br>VTK_USE_X=OFF \<br>OPENGL_INCLUDE_DIR=IGNORE \<br>OPENGL_xmesa_INCLUDE_DIR=IGNOR<wbr>E \<br>OPENGL_gl_LIBRARY=IGNORE \<br>OSMESA_INCLUDE_DIR=/usr/includ<wbr>e \<br>OSMESA_LIBRARY=/usr/lib64/libO<wbr>SMesa.so \<br>VTK_OPENGL_HAS_OSMESA=ON  \<br>VTK_USE_OFFSCREEN=OFF \<br>CMAKE_BUILD_TYPE:STRING=Releas<wbr>e \<br>PARAVIEW_ENABLE_PYTHON=ON  \<br>PYTHON_INCLUDE_DIR=/soft/spack<wbr>-0.10.1/opt/spack/linux-centos<wbr>7-x86_64/gcc-7.1.0/python-2.7.<wbr>13-qtrdup642rbar2ju33q7tffswry<wbr>7hcun/include/python2.7 \<br>PYTHON_EXECUTABLE=/soft/spack-<wbr>0.10.1/opt/spack/linux-centos7<wbr>-x86_64/gcc-7.1.0/python-2.7.1<wbr>3-qtrdup642rbar2ju33q7tffswry7<wbr>hcun/bin/python \<br>CMAKE_INSTALL_RPATH:STRING=/so<wbr>ft/spack-0.10.1/opt/spack/linu<wbr>x-centos7-x86_64/gcc-7.1.0/ncu<wbr>rses-6.0-ezqafxmmhppan7mtqspbb<wbr>56csmuossfw/lib:/soft/spack-0.<wbr>10.1/opt/spack/linux-centos7-<wbr>x86_64/gcc-7.1.0/python-2.7.<wbr>13-qtrdup642rbar2ju33q7tffswry<wbr>7hcun/lib \<br>PARAVIEW_INSTALL_DEVELOPMENT_F<wbr>ILES=ON PYTHON_LIBRARY=/soft/spack-0.1<wbr>0.1/opt/spack/linux-centos7-x8<wbr>6_64/gcc-7.1.0/python-2.7.13-q<wbr>trdup642rbar2ju33q7tffswry7hcu<wbr>n/lib/libpython2.7.so.1.0 -qmake /home/ssergien/OpenFOAM/ThirdP<wbr>arty-5.0/Qt5/bin/qmake \<br>CMAKE_PREFIX_PATH=/home/ssergi<wbr>en/OpenFOAM/ThirdParty-5.0/Qt5<wbr>/lib/cmake/Qt5 \<br>Qt5_DIR=/home/ssergien/OpenFOA<wbr>M/ThirdParty-5.0/Qt5/lib/cmake<wbr>/Qt5 \<br>VTK_Group_Qt=ON<br><div><br><br></div><div>And I am getting the following error.<br><br>ParaView-5.4.0/VTK/GUISupport/<wbr>Qt/QVTKWidget.cxx:50:11: fatal error: QX11Info: No such file or directory<br> # include <QX11Info><br>           ^~~~~~~~~~<br>compilation terminated.<br>make[2]: *** [VTK/GUISupport/Qt/CMakeFiles/<wbr>vtkGUISupportQt.dir/QVTKWidget<wbr>.cxx.o] Error 1<br>make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/<wbr>vtkGUISupportQt.dir/all] Error 2<br><br>I think my Qt 5.6.2 was built correctly and I see QX11Info headers and X11extras libararies are there.<br><br></div><div>Any help is greatly appreciated.<br><br></div>Thanks.<div class="m_-2648756227014612214m_8635579835569435339gmail-yj6qo m_-2648756227014612214m_8635579835569435339gmail-ajU"><div id="m_-2648756227014612214m_8635579835569435339gmail-:17b" class="m_-2648756227014612214m_8635579835569435339gmail-ajR"><img class="m_-2648756227014612214m_8635579835569435339gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"><br></div><div id="m_-2648756227014612214m_8635579835569435339gmail-:17b" class="m_-2648756227014612214m_8635579835569435339gmail-ajR">Stas Sergienko<br></div></div></div>
<br></div></div>______________________________<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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview-develope<wbr>rs</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>