Skip to content

Dependencies

C++

Update your C++ compiler to at least C++17:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# install GCC10
sudo apt install build-essential
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt install gcc-10
sudo apt install g++-10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10
# Choose gcc-10 there as the default compiler
update-alternatives --config g++
1
2
3
4
5
6
7
8
9
# Download clang
curl --output clang.tar.xz -L https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang+llvm-11.0.0-x86_64-apple-darwin.tar.xz
mkdir clang
tar -xvJf clang.tar.xz -C clang
# Copy the files to use/local
cd clang/clang+llvm-11.0.0-x86_64-apple-darwin
sudo cp -R * /usr/local/
# Make it your default compiler
export CXX=/usr/local/bin/clang++

Update your Visual Studio Compiler.

CMake

Update your CMake to at least CMake 3.16+. You can check your CMake version with:

1
cmake --version

If you need to update it, then

1
sudo apt upgrade cmake
1
sudo brew upgrade cmake

Download CMake from https://cmake.org/download/ and install it

Python

Make sure you have Python 3.6.9+ installed:

1
python3 --version

If you need to update, then

Use apt-get or download it from https://www.python.org/downloads/.

1
sudo brew upgrade python3

or download the latest release version from https://www.python.org/downloads/

Download Python from https://www.python.org/downloads/ and install it

If using a Python installer, make sure you add the application directory to your PATH environment variable.