<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=<wbr>IGNORE \<br>OPENGL_gl_LIBRARY=IGNORE \<br>OSMESA_INCLUDE_DIR=/usr/<wbr>include \<br>OSMESA_LIBRARY=/usr/lib64/<wbr>libOSMesa.so \<br>VTK_OPENGL_HAS_OSMESA=ON \<br>VTK_USE_OFFSCREEN=OFF \<br>CMAKE_BUILD_TYPE:STRING=<wbr>Release \<br>PARAVIEW_ENABLE_PYTHON=ON \<br>PYTHON_INCLUDE_DIR=/soft/<wbr>spack-0.10.1/opt/spack/linux-<wbr>centos7-x86_64/gcc-7.1.0/<wbr>python-2.7.13-<wbr>qtrdup642rbar2ju33q7tffswry7hc<wbr>un/include/python2.7 \<br>PYTHON_EXECUTABLE=/soft/spack-<wbr>0.10.1/opt/spack/linux-<wbr>centos7-x86_64/gcc-7.1.0/<wbr>python-2.7.13-<wbr>qtrdup642rbar2ju33q7tffswry7hc<wbr>un/bin/python \<br>CMAKE_INSTALL_RPATH:STRING=/<wbr>soft/spack-0.10.1/opt/spack/<wbr>linux-centos7-x86_64/gcc-7.1.<wbr>0/ncurses-6.0-<wbr>ezqafxmmhppan7mtqspbb56csmuoss<wbr>fw/lib:/soft/spack-0.10.1/opt/<wbr>spack/linux-centos7-x86_64/<wbr>gcc-7.1.0/python-2.7.13-<wbr>qtrdup642rbar2ju33q7tffswry7hc<wbr>un/lib \<br>PARAVIEW_INSTALL_DEVELOPMENT_<wbr>FILES=ON PYTHON_LIBRARY=/soft/spack-0.<wbr>10.1/opt/spack/linux-centos7-<wbr>x86_64/gcc-7.1.0/python-2.7.<wbr>13-<wbr>qtrdup642rbar2ju33q7tffswry7hc<wbr>un/lib/libpython2.7.so.1.0 -qmake /home/ssergien/OpenFOAM/<wbr>ThirdParty-5.0/Qt5/bin/qmake \<br>CMAKE_PREFIX_PATH=/home/<wbr>ssergien/OpenFOAM/ThirdParty-<wbr>5.0/Qt5/lib/cmake/Qt5 \<br>Qt5_DIR=/home/ssergien/<wbr>OpenFOAM/ThirdParty-5.0/Qt5/<wbr>lib/cmake/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/<wbr>QVTKWidget.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="gmail-yj6qo gmail-ajU"><div id="gmail-:17b" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"><br></div><div id="gmail-:17b" class="gmail-ajR" tabindex="0">Stas Sergienko<br></div></div></div>