I have a simple SConstruct file with the following code
path = ['C:\\MinGW\\bin']
env = Environment(ENV = {'PATH' : path})
Program(target = 'myprogram', source = ['main.cpp'])
running 'scons' on cmd gives the following error message:
cl /Fomain.obj /c main.cpp /TP /nologo
'cl' is not recognized as an internal or external command,
operable program or batch file.
scons: *** [main.obj] Error 1
scons: building terminated because of errors.
It looks like SCons does not pick my compiler (MinGW). What am I doing wrong? I'm on Windows 7 64bit.