Page 1 of 1

compiling simvascular GUI on linux server

Posted: Thu Oct 25, 2018 2:17 pm
by peslami
Hello,

I have a standalone dell server where I would like to install both the svsolver as a standalone solver as well as simvascular with GUI. I have the svsolver installed fine but get an error when compiling the GUI from the source on github. Bellow please find the error message. Can you please let me know how I can resolve this issue?

Thanks,
Parastou

CMake Error at CMake/SimVascularMacros.cmake:142 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.6.3".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.5.1

Call Stack (most recent call first):
CMake/Externals/Qt5.cmake:96 (simvascular_external)
CMake/SimVascularExternals.cmake:37 (include)
CMakeLists.txt:113 (include)

Re: compiling simvascular GUI on linux server

Posted: Fri Oct 26, 2018 10:14 am
by gmaher
Hi Parastou,

The easiest way to solve your problem would be to use the prebuilt qt option in cmake.

Download the linux qt5.6.3 installer at https://download.qt.io/archive/qt/5.6/5.6.3/

Install it on your Dell server. Then when running cmake, make sure to set SV_EXTERNALS_USE_PREBUILT_QT to ON and then set SV_EXTERNALS_PREBUILT_QT_PATH to the location of the "cmake" directory in the QT install.

E.g. my path is "/opt/Qt5.6.3/5.6.3/gcc_64/lib/cmake/Qt5"

Hope that helps!

Gabriel