我遵循https://github.com/TideSDK/TideSDK/wiki/Windows7-x86-2010-Express上的说明,但是在运行时:
scons debug=1
我收到有关 SCons 无法找到cl的错误,因此我将以下内容添加到 SContruct:
if build.is_win32():
subprocess.call(path_to_vcvars32.bat)
但我仍然收到错误:
'cl' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [build\win32\objs\installer\common.obj] Error 1
关于为什么 SCons 找不到 cl 的任何想法?