[Paraview-developers] ParaView 5.4.0 PARAVIEW_BUILD_QT_GUI=ON QX11Info error

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Aug 22 08:55:43 EDT 2017


Can you attach your CMakeCache.txt file please?

Thanks
Utkarsh

On Tue, Aug 22, 2017 at 8:15 AM, Stanislav Sergienko <sysergie at gmail.com>
wrote:

> 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-centos
> 7-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/linu
> x-centos7-x86_64/gcc-7.1.0/ncurses-6.0-ezqafxmmhppan7mtqs
> pbb56csmuossfw/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.1
> 0.1/opt/spack/linux-centos7-x86_64/gcc-7.1.0/python-2.7.13-q
> trdup642rbar2ju33q7tffswry7hcun/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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170822/08c367f4/attachment.html>


More information about the Paraview-developers mailing list