Spent entirely too long failing to follow a project's README build instructions.
Then I noticed that it has GitHub CI so I ran those commands. *That* worked.
Why?
The CI script tells CMake to use Clang via envvars. The README instructions don't.
MSYS2 CMake defaults to GCC. The project's #CMake configuration files don't say Clang is required.
GCC somehow fails to link in a needed Windows system library, where Clang does not.
That's 3 separate epic fails all at once. 🤦♂️
#programming
Then I noticed that it has GitHub CI so I ran those commands. *That* worked.
Why?
The CI script tells CMake to use Clang via envvars. The README instructions don't.
MSYS2 CMake defaults to GCC. The project's #CMake configuration files don't say Clang is required.
GCC somehow fails to link in a needed Windows system library, where Clang does not.
That's 3 separate epic fails all at once. 🤦♂️
#programming