Pardon if this is a FAQ, but I couldn't find it in Inline::C,
Inline::C-Cookbook or Inline-FAQ ...

I'm probably missing something, but my Inline C code has a local include
file:

--- myprog.c ---

#include "myprog.h"

int function(SV* this, SV* that) {

}

--- myprog.pl ---
#!/usr/bin/perl -w
use Inline C => './myprog.c';

...

---
% perl myprog.pl
[ A problem was encountered while blah blah blah ]
% cd _Inline/build/myprog_1234
% make
...
myprog.h: No such file or directory

---

Now when Inline creates the build/ directory I realize it's not smart
enough to copy along the .h file; AUTO_INCLUDE doesn't seem to be the
ticket.  perhaps I need to INC => '../../../' ??  That seems rash.

Thanks,

-Aaron

Reply via email to