orbit
orbit copied to clipboard
./bootstrap-orbit.sh Fails with Ubuntu 18.04 system version of CMake
I'm getting an error trying to install orbit. It says I need CMake 3.12 but the system CMake is 3.10.2. On Ubuntu 18.04 this is the only version of CMake available.
Is it possible to use CMake from conan?
lzma_sdk/19.00@orbitdeps/stable: Calling build()
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.12 or higher is required. You are running version 3.10.2
-- Configuring incomplete, errors occurred!
Using a downloaded version of CMake I found you can set the env variable to CONAN_CMAKE_PROGRAM to that binary and then the build process continues.
Additionally I needed to install gcc-9 which is not in the normal repos.
sudo -E add-apt-repository ppa:ubuntu-toolchain-r/test # The -E just keeps your env variables, in case you need an http_proxy
sudo apt update
sudo apt install gcc-9 g++-9
However now it fails on the QtFontMetrics https://stackoverflow.com/questions/50864893/qts-qfontmetricshorizontaladvance-missing-for-code-editor-implementation