CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Paraview cmake error

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By alexeym

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2018, 09:09
Default Paraview cmake error
  #1
New Member
 
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 13
jormollo is on a distinguished road
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
jormollo is offline   Reply With Quote

Old   January 11, 2018, 10:46
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   January 11, 2018, 10:53
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
olesen is offline   Reply With Quote

Old   January 11, 2018, 11:45
Default
  #4
New Member
 
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 13
jormollo is on a distinguished road
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?
jormollo is offline   Reply With Quote

Old   January 12, 2018, 02:31
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   January 15, 2018, 03:21
Default
  #6
New Member
 
Jorge Molines
Join Date: Oct 2012
Posts: 11
Rep Power: 13
jormollo is on a distinguished road
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.
jormollo is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 00:21
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 04:53
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 20:30.