0
我只看文档 - scons simple example,它不适用于我。scons visual studio express 2012 build not work
第一个文件:main.cpp
#include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
return 0;
}
第二个文件:使用SCons SConstruct
Program('main.cpp')
结果:
scons: Reading SConscript files ...
scons: done reading SConscript
files. scons: Building targets ...
cl /Fomain.obj /c main.cpp /TP /nologo
"cl" is not an internal or external command, operable program or batch file.
scons: *** [main.obj] Error 1 scons:
building terminated because of errors.
我与Visual Studio Express的2012试过这对微软Windows 7,使用SCons 2.3 有什么帮助吗?
SCons不能找到编译器,要么没有安装,要么它不在路径中。 – Brady 2013-04-21 12:57:48