On 3/31/2004 6:41 PM, 00056312 wrote:

Hi, I have just installed Inline on ActivePerl 5.8.3.809 running on Windows
XP. I have installed Nmake from here
http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15
.exe and set a path variable so it could be found. I have not installed
Visual Studio itself (should that matter?).
I have run the following program and others but I always get the same
error message.


use Inline C;
greet('Ingy');
greet(42);
__END__ __C__
void greet(char* name) {
printf("Hello %s!\n", name);
} Error C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap
C:\Perl\lib\ExtUtils\typemap hello_pl_b1a688f821f707
19.xs > hello_pl_b1a688f821f70719.xsc && C:\Perl\bin\perl.exe
-MExtUtils::Command -e mv hello_pl_b1a688f821f70719.xsc he
llo_pl_b1a688f821f70719.c
cl -c -IC:/ -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SE
ED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.
00\" -DXS_VERSION=\"0.00\" "-IC:\Perl\lib\CORE"
hello_pl_b1a688f821f70719.c
'cl' is not recognized as an internal or external command,

It could not find the C compiler. Make sure you run the 'vcvars.bat' script that comes with MSVC so that your environment is setup correctly.


Regards,
Randy.




Reply via email to