Corrected minimum G++ version required, in README

This commit is contained in:
Nav
2021-07-04 00:33:32 +01:00
parent 5a8f54a229
commit e8b679afaa

View File

@@ -64,8 +64,8 @@ for apt-get.
This can be installed via `sudo apt-get install cmake`, provided the appropriate version is available in your OS package This can be installed via `sudo apt-get install cmake`, provided the appropriate version is available in your OS package
repositories. Otherwise, you'll need to download CMake from the official website. repositories. Otherwise, you'll need to download CMake from the official website.
#### G++9 or later #### G++10 or later
Bloom uses features that are only available in C++20. G++9 is (likely) the minimum version Bloom will compile with. Bloom uses features that are only available in C++20. G++10 is (likely) the minimum version Bloom will compile with.
Also, build-essential (`sudo apt-get install build-essential`). Also, build-essential (`sudo apt-get install build-essential`).
#### libusb v1.0 & libhidapi #### libusb v1.0 & libhidapi
@@ -108,7 +108,7 @@ sudo nano /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf
# You may also need to change the path to the compiler # You may also need to change the path to the compiler
# You may also need to supply an absolute path to the source (cmake gets a bit weird about this, sometimes) # You may also need to supply an absolute path to the source (cmake gets a bit weird about this, sometimes)
cd /path/to/Bloom/build/cmake-build-debug/; cd /path/to/Bloom/build/cmake-build-debug/;
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=/usr/bin/g++-9 ../../; cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 ../../;
``` ```
- To build Bloom (debug): - To build Bloom (debug):
``` ```