faqsetr.blogg.se

Install cmake 3.9 on ubuntu 16.04
Install cmake 3.9 on ubuntu 16.04













install cmake 3.9 on ubuntu 16.04

Ubuntu 16.04 provides Qt 5.5.1, which is not supported with ParaView 5.4.0. Therefore, the installation instructions at could indicate that on Ubuntu that the following is used before running 'makeParaView':īut then again, once ParaView 5.5 or 6.0 is released, this won't be much of a problem any more.įor completion sake, a few more important for potential future issues:ġ. The way used in Ubuntu and Debian for changing between the two Qt versions is to define the environment variable "QT_SELECT" with the desired version. I've tested this on Ubuntu 14.04 and 16.04, both and This proposition will solve the problem that most people have been having lately when simply running 'makeParaView'.īut if users have installed Qt 5 and Qt 4 in their Ubuntu systems, then 'qmake' will use Qt 5 by default. Automatically add the "PARAVIEW_QT_VERSION" variable to the CMake variable stack, based on the current Qt version that qmake states that it's using. Also have a Qt version check for the valid Qt 5 series, since ParaView 5.4.0 requires at least Qt 5.6.Ģ. "ParaViewFunctions.proposition_2640_v1" - for updating the file "etc/tools/ParaViewFunctions", which was tested with OpenFOAM-dev, but should also work with OpenFOAM 5.*ġ. "proposition_2640_v1.patch" - for easily seeing the changes being proposed with this comment. + addCMakeVariable "PARAVIEW_QT_VERSION=$QtMajor"Įcho "*** Error: cannot find qmake either at \$QMAKE_PATH or in current I've attached the following files:

Install cmake 3.9 on ubuntu 16.04 how to#

+ # guess how to tell ParaView to use the desired Qt version

install cmake 3.9 on ubuntu 16.04 install cmake 3.9 on ubuntu 16.04

+ # Enforce the Qt version to be used, so that users don't have to + echo "*** Error: Qt 5 version provided = 5.6" + echo "*** Error: Qt 4 version provided = 4.7" echo "*** Error: Qt version provided = 4.5" ĜMAKE_VARIABLES="$CMAKE_VARIABLES -D$var" Proposition_2640_v1.patch (1,998 bytes) diff -git a/etc/tools/ParaViewFunctions b/etc/tools/ParaViewFunctions















Install cmake 3.9 on ubuntu 16.04