0

SCons を使用して、Windows 7 でコンパイルするプロジェクトをセットアップしようとしています。MSys シェルで、適切なフォルダーに移動して実行します。

scons target=setup

...そして、次の出力が得られます。

scons: Reading SConscript files ...
SCons 2.0.1
OS="'{' is not recognized as an internal or external command,
operable program or batch file."
Compiler version check failed - need gcc 3.x or later:
CC: gcc None
CXX: g++ None

ディレクトリ内の SConscript ファイルの先頭は次のとおりです。

import os, sys, commands, string
from makeversion import get_version
# OS Detection:
OS = commands.getoutput('uname')

最後の行がエラーの原因のようです。エラーが発生するのはなぜですか?どうすれば修正できますか?

4

0 に答える 0