--- Sisyphus <[EMAIL PROTECTED]> wrote:

> 
> ----- Original Message ----- 
> From: "Todd H" <[EMAIL PROTECTED]>
> To: <inline@perl.org>
> Sent: Tuesday, May 30, 2006 10:58 PM
> Subject: Re: problem with LIBS
> .
> .
> >
> > One other interesting note:
> >
> > When I put ONLY this at the top of my source file
> for
> > "use Inline C => CONFIG" options:
> >
> > use Inline C => Config => INC => '-I
> C:/MyCode/INCS';
> >
> > then I see "-I C:/MyCode/INCS" passed to cl.exe
> but
> > when I put any other Config options after it (like
> > LIBS or BUILD_NOISY) then the "-I C:/MyCode/INCS"
> does
> > not show up on my list of parameters to cl.exe and
> I
> > get "Cannot open include file "olwintyp.h". It is
> like
> > my Config => INC is getting wiped out by future
> calls
> > to "use Inline C => Config"
> >
> 
> That is strange. I agree with your diagnosis that
> subsequent calls are
> wiping out the INC setting - but that is something
> that simply should *not*
> happen (afaik).
> 
> I guess you could try with just *one* 'use Inline C
> => Config =>.....' as
> follows:
> 
> use Inline C => Config =>
> INC => '-I C:/MyCode/INCS',
> LIBS => '-L C:/MyCode/LIBS -lolimg32',
> BUILD_NOISY => 1;
> 
> But I think it should be possible to code using
> multiple 'use Inline C =>
> Config =>.....'  entries as you did.
> 
> Did you build Inline yourself from source or did you
> install it via PPM ? If
> you built from source, did 'nmake test' pass all
> tests ?
> 
> Also with Inline-0.44_01, did 'nmake test' pass all
> tests ?
> 
> Cheers,
> Rob
> 
> 

Wow! That worked! I cant believe it! I put everything
all on line (INC and LIBS) and my test program
compiled and ran.  I will now go ahead and try to
include more LIBS and more C code.

Thank you and everyone that helped me.

Regards,
Todd


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to