Re: Inline C on Windows - what am i doing wrong?

From: Thomas Kratz (ThomasKratz_at_REMOVEwebCAPS.de)
Date: 04/01/04


Date: Thu, 01 Apr 2004 13:17:39 +0200

SketchySteve wrote:

> I installed nmake incorrectly and solved the problem but the error message
> I'm now getting is as follows.
>
>
>
> Microsoft (R) Program Maintenance Utility Version 1.50
>
> Copyright (c) Microsoft Corp 1988-94. All rights reserved.
>
> 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_STR
> ICT -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, operable program
> or batch file. NMAKE : fatal error

This means the VC++ command line compiler could not be found.
Do you have VC++ installed? If yes, run the batch file
   VCVARS32.BAT (in the VC98\bin directory)
before running nmake.
If not, you'll have to install it.

Thomas

-- 
open STDIN,"<&DATA";$=+=14;$%=50;while($_=(seek( #J~.> a>n~>>e~.......>r.
STDIN,$:*$=+$,+$%,0),getc)){/\./&&last;/\w| /&&( #.u.t.^..oP..r.>h>a~.e..
print,$_=$~);/~/&&++$:;/\^/&&--$:;/>/&&++$,;/</  #.>s^~h<t< ..~. ...c.^..
&&--$,;$:%=4;$,%=23;$~=$_;++$i==1?++$,:_;}__END__#....>>e>r^..>l^...>k^..


Relevant Pages