You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running scons -c inside the git checkout directory where build worked before somehow leads to this:
% scons
scons: Reading SConscript files ...
Building for: posix
Using toolchain: default
C++ compiler: g++
Checking whether the C compiler works... no
There's a problem with your compiler!
Removing .sconsign.dblite seems to fix it.
The text was updated successfully, but these errors were encountered:
x-qq
changed the title
Does not build on debian with g++ 12
No longer builds after scons -c
Jan 28, 2023
The .sconsign.dblite file is a temporary database used by SCons to keep file signatures to speed up future builds. If you delete it, SCons will recreate it (and your next build might take slightly longer because of that). It should not be put under version control.
The conversation here indicates that you're not supposed to delete .sconsign.dblite from your SConstruct file, but scons -c breaks the next build even if we don't do that, so it seems like we do need to delete it. I tried the weird atexit workaround shown in that issue, and then it worked.
Running
scons -c
inside the git checkout directory where build worked before somehow leads to this:Removing .sconsign.dblite seems to fix it.
The text was updated successfully, but these errors were encountered: