Tool | Minimum version |
---|---|
git | 2.7.4 |
gcc | 7 |
python | 3 |
Update apt installer
sudo apt update
Install GCC and related tools
sudo apt install build-essential
sudo apt install curl zip unzip tar
Install Qt
sudo apt install -y qtbase5-dev libqt5svg5-dev qtbase5-private-dev
git clone git://github.com/OPM/ResInsight.git ResInsight
cd ResInsight
git submodule update --init
vcpkg is located in the folder ThirdParty/vcpkg
ThirdParty/vcpkg/bootstrap-vcpkg.sh
ThirdParty/vcpkg/vcpkg install grpc boost-filesystem boost-spirit eigen3
mkdir cmakebuild
cd cmakebuild
cmake \
-DRESINSIGHT_ENABLE_GRPC=true \
-DVCPKG_TARGET_TRIPLET=x64-linux \
-DCMAKE_TOOLCHAIN_FILE=..ThirdParty/vcpkg/scripts/buildsystems/vcpkg.cmake \
-DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python \
..
make -j8