Build Instructions CentOS 7

Dependencies and Prerequisites

vcpkg can be used to install grpc for C++. This method is cross platform, and can be easier to use than directly installing grpc and dependencies directly from grpc source code. The source code for vcpkg is avaialable as a Git sub module in the folder ‘vcpkg’. Python3 is required.

vcpkg requires relatively new versions of git and compiler.


grpc quickstart

Reference project

A workflow file is used to build using CentOS 7 on GitHub actions. A blank Centos7 Docker image is used, and the required dependencies are installed.

Link to workflows

Configuration and build

ToolMinimum version


yum install -y centos-release-scl
yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install -y devtoolset-10


yum install -y
yum install -y git222

Clone and update sub modules

Init of submodules is required to get the source code for vcpkg

git clone git:// ResInsight
cd ResInsight
git submodule update --init

Build and install grpc using vcpkg

vcpkg is located in the folder vcpkg

vcpkg/vcpkg install grpc

Build ResInsight

mkdir cmakebuild
cd cmakebuild
cmake3 \
-DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake \

make -j8

Other build descriptions

Build description for Windows and Linux