Hi,

For running inline scripts I've simply been starting the inline C section
off with:
#include "arrays.h"
#include "arrays.c"
and so long as arrays.h, arrays.c and the typemap are in the cwd, everything
works fine.

So, when I tried to build a module, I simply did the same. The inline C code
starts off with:
#include "arrays.h"
#include "arrays.c"
and the three files are placed in the cwd alongside makefile.pl,
My_module.pl, manifest, etc.

But this doesn't work. I get the following linker error:
LINK : fatal error LNK1181: cannot open input file "My_module.obj".

I've checked that this problem is due to the attempted inclusion of the
typemap (and associated files arrays.h and arrays.c) - and it is. But I'm
clueless as to how to remedy the problem, or where to look to find the
answer.

Any help appreciated.

Cheers,
Rob

Reply via email to