Closed fovea1959 closed 1 year ago
2023 WPIlib requires Ubuntu 22.04 at minimum.
please reconsider that restriction. From the 2022 official WPILIB documentation:
The following OSes will be unsupported starting 2023: Ubuntu 18.04, Windows 7, Windows 8.1, and any 32-bit Windows. MacOS 10.14 is no longer supported as of 2022.
2022 supported 20.04, for 2023 the documentation has been updated to require 22.04. It also removed Windows 7 and 8, and older macOS as well. We needed version bumps to get better c++20 support and newer compilers. We’ve pretty much always required the latest Ubuntu LTS.
Our next upgrade will likely be in fall 2024 to Ubuntu 24.04 LTS, so we'll be on 22.04 for the 2023 and 2024 seasons.
Can OutlineViewer be built to run on 20.04?
I am fine with dropping of Ubuntu 18.04, Windows 7, Windows 8, and 32 bit; we were warned last year. Dropping support of 20.04 LTS is a bit of a surprise; having to upgrade my OS to something less than a year old is a little aggressive....
having to upgrade my OS to something less than a year old is a little aggressive
Why is that aggressive?
Its not easy to revert back, the entire dependency chain is built against 22.04. I also think the 18.04 note from the doc last year was a typo, and should have been 20.04. 18.04 wasn't supported last year.
We've been pretty fast at keeping up to date OS's. It usually results in better support and less problems.
Upgrades break old things. This laptop is not devoted to WPIlib.
My advice (37 years in the industry): supporting current version - 1 is a Good Thing; not all customers in industry can upgrade to the latest at the drop of a hat.
Closing the ticket, ain't gonna waste anyone's time on it. Can workaround.
Its kind of a hard choice. Staying on old versions generally requires losing features, especially in C++, since linux decides to ship the compilers with the OS. When all the other OS's support new C++ versions, including the roboRIO, the choice becomes hold back the entire ecosystem because of 1 OS, or update that OS. When theres a new LTS we can upgrade to, that choice becomes fairly easy, especially when desktop linux is a fairly small portion of the user base. We know its hard to upgrade, but we'd rather not hold back the entire ecosystem.
As a workaround, you should be able to install GCC-10 on 20.04 and build allwpilib from source with cmake. The reason we don't do this for our builds is because of the support downside: C++ teams building on 20.04 for simulation could easily run into issues because the default compiler is GCC 9.
Describe the bug OutlineViewer does not run on Ubuntu 20.04; it throws error messages about GLIBC and GLIBCXX version missing.
To Reproduce Steps to reproduce the behavior:
cd ~/wpilib/2023/tools
./OutlineViewer.py
Expected behavior OutlineViewer window should appear.
Screenshots
Desktop (please complete the following information):
Additional context OutlineViewer from WPILib_Linux-2022.4.1 works fine.