Hi,
Did you run the VCVARS32.BAT file a boot time? This sets some environment
variables that cl needs to run properly.
If so, maybe check that file for invalid paths?
Mine's like this:
------8<------
@echo off
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=E:\VISUAL~1\COMMON
rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=E:\VISUAL~1\COMMON\msdev98
rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=E:\VISUAL~1\VC98
rem
rem VcOsDir is used to help create either a Windows 95 or Windows NT
specific path.
rem
set VcOsDir=WIN95
if "%OS%" == "Windows_NT" set VcOsDir=WINNT
rem
echo Setting environment for using Microsoft Visual C++ tools.
rem
if "%OS%" == "Windows_NT" set
PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
if "%OS%" == "" set
PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set
INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%
set VcOsDir=
set VSCommonDir=
------8<------
Good luck,
Patrick
>From: "migu" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: help please include with inline 0.43
>Date: Sat, 27 Apr 2002 00:00:26 +0200
>
>Inline was installed using nmake of visual c++ 6.0, the nmake test was ok.
>
>the file config.pm contains the paths:
> incpath='D:\Archivos de programa\Microsoft Visual
>Studio\VC98\Include'
> libpth=' "D:\Perl\lib\CORE" "D:\Archivos de programa\Microsoft
>Visual Studio\VC98\lib"'
>
>
>
>#!C:\Perl\bin\perl.exe
>
>use Inline (Config => DIRECTORY => 'D:\Inline1',);
> use Inline C => <<'END_C';
>
> void greet() {
> printf("Hello, world\n");
> }
>END_C
>
> greet;
>the error in the file out is:
>
>D:\Perl\lib\CORE\perl.h(426) : fatal error C1083: Cannot open include file:
>'sys/types.h': No such file or directory
>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>Stop.
>
>What am I doing wrong ?
>thanks
>
>Migue
>
>
>
----------------------------------
| Patrick LeBoutillier
| [EMAIL PROTECTED]
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com