C:\>CL/LDのhellomodule.c/IC:\ Python24 \は、Cを含む:\ Python24 \ LIBS \ python24.lib /link/out:hello.dll
'cl'は内部の または外部コマンド、 操作可能なプログラムまたはバッチファイルとして認識されません。
私は、このコマンドが機能するために、私は設定する必要がありますどのようなPATHのVisual Studio教授エディ2008
- を使用していますか?
- IDEを使用して上記のコマンドを実行する方法は?
注:私はthisを勉強しています。
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:\>
ダビデは、あなたがそれをマークする必要がありvcvarsall.batの\ Program Files \ MicrosoftのVisual Studio 9.0 \ VC \。これは彼に+15の報酬を与え、+2の報酬を与える。さらに、あなたの質問が完全に答えられたことを示しています。 – Andy