- Updating to remove usage of a deprecated enum in boost, we also needed to update the version of boost used in the Linux build, so now we use Ubuntu 22 which provides boost 1.74 - Updating Ubuntu must have updated the default C++ standard used when building TGUI, because TGUI started throwing compiler errors coming from conditional code that is for >C++17 only. I added an environment variable to install-TGUI.sh so it will build with C++14 to match the standard for the cboe build on linux - some CI runs were throwing network errors from apt-get install, so I added apt-get update as a precaution. Maybe less builds will fail from network errors now?
10 lines
198 B
Bash
Executable File
10 lines
198 B
Bash
Executable File
#!/bin/sh -ve
|
|
|
|
git clone --depth 1 -b 0.9 https://github.com/texus/TGUI.git
|
|
cd TGUI
|
|
export CLICOLOR_FORCE=1
|
|
cmake -D TGUI_CXX_STANDARD=14 .
|
|
make
|
|
cmake --install .
|
|
cd .. # Probably not needed but...
|