问题:
C:\> cl/LD hellomodule.c/Ic:\ Python24\include c:\ Python24\libs\python24.lib /link/out:hello.dll
'cl'不被识别为内部或外部命令,可操作程序或批处理文件.
我正在使用Visual Studio Prof Edi 2008.
我应该为此命令设置什么路径?
如何使用IDE执行上述命令?
注意:我正在研究这个.
C:\>cl /LD hellomodule.c /Ic:\Python24\include c:\Python24\libs\python24.lib /li nk/out:hello.dll 'cl' is not recognized as an internal or external command, operable program or batch file. C:\>PATH="C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe" C:\>cl 'cl' is not recognized as an internal or external command, operable program or batch file. C:\>PATH="C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe" C:\>cl /LD hellomodule.c /Ic:\Python24\include c:\Python24\libs\python24.lib /li nk/out:hello.dll 'cl' is not recognized as an internal or external command, operable program or batch file. C:\>
cmeerw.. 9
您可以使用设置环境
C:\ Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
您可以使用设置环境
C:\ Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat