As described in issue https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/266 the gcc-9 libstdc++ version is not included in Ubuntu 18.04 or derivatives, which leads to a runtime error. gcc-7 is the oldest version that has c++17 support. If we didn't need C++17 support then we could use gcc-5, which is included with Ubuntu 14.04.