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