HI.

1.-My VCVARS32.BAT file likes this:

@echo off
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=D:\ARCHIV~1\MICROS~1\Common

rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=D:\ARCHIV~1\MICROS~1\Common\msdev98

rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=D:\ARCHIV~1\MICROS~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%";"%VSCo
mmonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set
INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLU
DE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%

set VcOsDir=
set VSCommonDir=

 I can't see any mistake in it


2.- I  always run VCVARS32.BAT on the prompt and it  throw :
      setting enviroment for using microsoft visual c++ tools.

3.- On diagnostics windows nt the include variable local user  is:
      D:\Archivos de programa\Microsoft Visual Studio\Vc98\atl\Include;
           D:\Archivos de programa\Microsoft Visual Studio\Vc98\mcf\include;
           D:\Archivos de programa\Microsoft Visual Studio\Vc98\include
  I think this is right;

what on earth the problem is?

thanks
----- Original Message -----
From: Patrick LeBoutillier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 27, 2002 1:30 PM
Subject: Re: help please include with inline 0.43


> 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%";"%VSCo
mmonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
> set
>
INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLU
DE%
> 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




Reply via email to