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
Invariably, "works from the shell, fails in SCons" means you're depending on something in PATH, or some environment variable. SCons by default ignores the PATH from the external environment, and environment variable settings.
I don't know anything about zig, but based on error: AppDataDirUnavailable, I'd guess SCons is finding the zig binary, but some other shell environment variables the zig compiler needs aren't being set in SCons or propagated from your shell to SCons.
issue
1.scons rule
SConstruct
try build zig
scons
2.manual run build command
zig build-exe -O Debug --name 1_hello.out 1_hello.zig
The text was updated successfully, but these errors were encountered: