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