Replies: 2 comments 3 replies
-
You can use the https://scons.org/doc/production/HTML/scons-user.html#chap-sconf |
Beta Was this translation helpful? Give feedback.
-
It's not clear what that would look like... in normal builds, SCons gets no information back from the external command except the exit code provided by the operating system, so it makes no attempt to decode except "it failed". The This particular case is one, certainly - not everyone seems to feel as strongly as this: https://fedoraproject.org/wiki/C_and_C%2B%2B_v2#Static_Linking |
Beta Was this translation helpful? Give feedback.
-
How to catch and handle tool errors to provide users an actionable error message?
While compiling Godot on Fedora I've got this error.
The cause is probably missing header library, but don't understand which.
libstdc++-devel-13.2.1-6.fc39.x86_64
is installed. Maybe the error is in something else. When I find the cause, and fix it manually, I want to add a check to the build, so that the next time this error occurs, the error message tells me exactly what to do. How to do that in SCons?UPDATE: The cause of the error was missing
libstdc++-static
lib. So how to tell that to users?Beta Was this translation helpful? Give feedback.
All reactions