From 494d2dd1066d99ecf55742ae01498b4a23201f1f Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Thu, 22 Jul 2021 11:50:49 -0700 Subject: [PATCH] Build fails on Ubuntu 21.04 with "fiber.cpp:(.text+0x77d): undefined reference to `make_fcontext'" unless libboost-context-dev is installed --- Building-for-Linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Building-for-Linux.md b/Building-for-Linux.md index e67a79d..ac5ea72 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -40,7 +40,7 @@ Dependencies are listed here as commands that can be copied/pasted. Of course, t - `python3 -m pip install --user conan` - GCC 10 or later is required. - Ubuntu / Linux Mint / Debian: - - `sudo apt-get install autoconf cmake g++-10 gcc-10 git glslang-tools libasound2 libglu1-mesa-dev libhidapi-dev libpulse-dev libtool libudev-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxext-dev libxkbcommon-x11-0 mesa-common-dev nasm ninja-build python3 python3-pip qtbase5-dev qtbase5-private-dev qtwebengine5-dev` + - `sudo apt-get install autoconf cmake g++-10 gcc-10 git glslang-tools libasound2 libboost-context-dev libglu1-mesa-dev libhidapi-dev libpulse-dev libtool libudev-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxext-dev libxkbcommon-x11-0 mesa-common-dev nasm ninja-build python3 python3-pip qtbase5-dev qtbase5-private-dev qtwebengine5-dev` - `pip3 install --user conan` - Ubuntu 20.04, Linux Mint 20, or Debian Bullseye or later is required. - Users need to manually specify building with GCC 10. This can be done by adding the parameters `-DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10` when running CMake. i.e.