PROBLEM:
C:\>cl /LD hellomodule.c /Ic:\Python24\include c:\Python24\libs\python24.lib /link/out:hello.dll
'cl' is not recognized as an internal or external command, operable program or batch file.
I am using Visual Studio Prof Edi 2008.
NOTE:I am studying 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:\>
You can set up the environment by using
C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat
I have a "Visual Studio 2008 Command Prompt" in my Programs menu. Are you using that or the command prompt?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With