[Paraview-developers] ParaView 5.4.0 PARAVIEW_BUILD_QT_GUI=ON QX11Info error
Stanislav Sergienko
sysergie at gmail.com
Tue Aug 22 08:15:31 EDT 2017
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.
Here are my build options:
./makeParaView BUILD_SHARED_LIBS=ON \
VTK_USE_RPATH:BOOL=OFF \
PARAVIEW_BUILD_QT_GUI=ON \
VTK_USE_X=OFF \
OPENGL_INCLUDE_DIR=IGNORE \
OPENGL_xmesa_INCLUDE_DIR=IGNORE \
OPENGL_gl_LIBRARY=IGNORE \
OSMESA_INCLUDE_DIR=/usr/include \
OSMESA_LIBRARY=/usr/lib64/libOSMesa.so \
VTK_OPENGL_HAS_OSMESA=ON \
VTK_USE_OFFSCREEN=OFF \
CMAKE_BUILD_TYPE:STRING=Release \
PARAVIEW_ENABLE_PYTHON=ON \
PYTHON_INCLUDE_DIR=/soft/spack-0.10.1/opt/spack/linux-
centos7-x86_64/gcc-7.1.0/python-2.7.13-qtrdup642rbar2ju33q7tffswry7hcun/include/python2.7
\
PYTHON_EXECUTABLE=/soft/spack-0.10.1/opt/spack/linux-
centos7-x86_64/gcc-7.1.0/python-2.7.13-qtrdup642rbar2ju33q7tffswry7hcun/bin/python
\
CMAKE_INSTALL_RPATH:STRING=/soft/spack-0.10.1/opt/spack/
linux-centos7-x86_64/gcc-7.1.0/ncurses-6.0-ezqafxmmhppan7mtqspbb56csmuoss
fw/lib:/soft/spack-0.10.1/opt/spack/linux-centos7-x86_64/
gcc-7.1.0/python-2.7.13-qtrdup642rbar2ju33q7tffswry7hcun/lib \
PARAVIEW_INSTALL_DEVELOPMENT_FILES=ON PYTHON_LIBRARY=/soft/spack-0.
10.1/opt/spack/linux-centos7-x86_64/gcc-7.1.0/python-2.7.13-
qtrdup642rbar2ju33q7tffswry7hcun/lib/libpython2.7.so.1.0 -qmake
/home/ssergien/OpenFOAM/ThirdParty-5.0/Qt5/bin/qmake \
CMAKE_PREFIX_PATH=/home/ssergien/OpenFOAM/ThirdParty-5.0/Qt5/lib/cmake/Qt5 \
Qt5_DIR=/home/ssergien/OpenFOAM/ThirdParty-5.0/Qt5/lib/cmake/Qt5 \
VTK_Group_Qt=ON
And I am getting the following error.
ParaView-5.4.0/VTK/GUISupport/Qt/QVTKWidget.cxx:50:11: fatal error:
QX11Info: No such file or directory
# include <QX11Info>
^~~~~~~~~~
compilation terminated.
make[2]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/QVTKWidget.cxx.o]
Error 1
make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/vtkGUISupportQt.dir/all] Error 2
I think my Qt 5.6.2 was built correctly and I see QX11Info headers and
X11extras libararies are there.
Any help is greatly appreciated.
Thanks.
Stas Sergienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170822/57edbbef/attachment.html>
More information about the Paraview-developers
mailing list