Hi all.

In a perl file I write:

use Inline CPP => Config => INC => "-IC:/Work";
use Inline CPP;
......
......

__END__
__CPP__

#include <MyHeader.h>   /// this file is in C:\Work

and then I get in out.make:

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

         C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib 
C:\Perl\lib\ExtUtils/xsubpp  -typemap C:\Perl\lib/ExtUtils/typemap -typemap 
Z:/Work/Tests/_Inline/build/inline_pl_e5f0/CPP.map inline_pl_e5f0.xs > 
inline_pl_e5f0.xsc && C:\Perl\bin\perl.exe -IC:\Perl\lib -IC:\Perl\lib 
-MExtUtils::Command -e mv inline_pl_e5f0.xsc inline_pl_e5f0.c
         cl -TP -c -IZ:/Work/Tests -nologo -O1 -MD -DNDEBUG -DWIN32 
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT 
-DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD 
-DNDEBUG    -DVERSION=\"0.00\"  -DXS_VERSION=\"0.00\"  -IC:\Perl\lib\CORE 
inline_pl_e5f0.c
inline_pl_e5f0.c
inline_pl_e5f0.xs(22) : fatal error C1083: Cannot open include file: 
'MyHeader.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


It seems that giving INC doesn't influence the compiler include path at all.
What's wrong here?? PLEASE HELP!

Thanks in advance.



Constantine Elster
Qualcomm Israel Ltd.
Phone +972 4 8506437

Reply via email to