|
[Sponsors] |
January 11, 2018, 10:09 |
Paraview cmake error
|
#1 |
New Member
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
Hi!
I am trying to install Paraview using Openfoam v1706 and Thirdparty v1706, but when I run the command ./makeParaview I get the following error, -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package): Could not find a package configuration file provided by "Qt5X11Extras" with any of the following names: Qt5X11ExtrasConfig.cmake qt5x11extras-config.cmake Add the installation prefix of "Qt5X11Extras" to CMAKE_PREFIX_PATH or set "Qt5X11Extras_DIR" to a directory containing one of the above files. If "Qt5X11Extras" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): VTK/GUISupport/Qt/CMakeLists.txt:69 (find_package) -- Configuring incomplete, errors occurred! See also "/home/jorge/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeOutput.log". See also "/home/jorge/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeError.log". Could you help me, please? Thanks, Jorge |
|
January 11, 2018, 11:46 |
|
#2 |
Senior Member
|
Hi,
You just need to install package, which provides Qt5X11ExtrasConfig.cmake (or qt5x11extras-config.cmake). Depending on your Linux distribution it can be qt5-qtx11extras-devel, or libqt5x11extras5-dev, or something else. |
|
January 11, 2018, 11:53 |
|
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
QT needs various X11 things like libICE-devel, libX11-devel etc.
I've recently have issues with font-config as well (eg, https://github.com/spack/spack/issues/6685) Make sure that your makeQT script also uses the -qt-xcb option inside. I've been able to compile qt5 successfully on opensuse 42.3, but my coworker has been struggling with his older redhat system. |
|
January 11, 2018, 12:45 |
|
#4 |
New Member
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
Thanks both a lot! I installed the extra libraries and tried both options and now I'm having the following problem:
-- Protobuf: doing try-compiles for hash map/set headers -- Protobuf: doing try-compiles for pthread test CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:203 (pv_find_package_qt) -- Configuring incomplete, errors occurred! See also "/home/jorge/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeOutput.log". See also "/home/jorge/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeError.log". How could I fix it? |
|
January 12, 2018, 03:31 |
|
#5 |
Senior Member
|
Well, you have got several choices:
- Manually compile QT 5.6. - Maybe QT 5.6 is in updates/separate repo of your Linux distribution. - Use ParaView from packages of your distribution (maybe it wont be 5.4.1, yet, do you really need this exact version?). It would be easier if you disclose name of your Linux distribution, since further advices could depend on it. |
|
January 15, 2018, 04:21 |
|
#6 |
New Member
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
Hi,
I tried to manually compile QT 5.6 and provide the path to the paraview installation but I did not succeed. Finally, I installed paraview 5.0.1 perfectly since I really don't need paraview 5.4.1. I was using Ubuntu 16.04. Thanks a lot for all your help! Jorge. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |