@Coord[3];
hilbert_i2c(3,10,190355,@Coord);
print join(" ",@Coord);
@Coord[2] = 35.5;
@Coord[1] = 40;
@Coord[0] = 36.8;
print hilbert_c2i(3,10,@Coord), "\n";
use Inline C => Config =>
LIBS => '-lhilbert';
use Inline C => <<'END_OF_C_CODE';
Lots of C code Here with the above functions implemented
END_OF_C_CODE
The script chugs along, then errors out on the compile with the following:
E:\Profiles\ADMINI~1.TEM\MYDOCU~1\VISUAL~1\MACHIN~1>perl Hilbertknn.pl
Can't locate auto/main/hilbert_i2c.al in @INC (@INC contains: E:\Profi
+les\ADMINI
~1.TEM\MYDOCU~1\VISUAL~1\MACHIN~1\_Inline\lib E:/Perl/lib E:/Perl/site
+/lib .) at
Hilbertknn.pl line 2
"Can't locate auto/main/hilbert_i2c.al in @INC" being the most relevant part obviously, but I am at a loss as to where the proper files should be. The hilbert.c file is in the inline portion of the perl script, and the Hilbert.h files is in the same directory. Where else should it go? |