use Inline ( C => Config => LIBS => '-lyourlib', AUTO_INCLUDE => '#include "header.h";' ); function1 (NULL);
Hi, when I try to run the above program I get the error:
Undefined subroutine &main::function1 called at ..\..\test.pl line 8 .
1. From the error it appears that the program is not reading the function "function1" from the header file "header1.h" which it should or from the libraries library1.lib/library1.dll (in the current directory). Kindly suggest what mistake I am making.
2. In the syntax above, is "-lyourlib" a special switch or does it need to be replaced by the actual library name, ie, "library1.lib". Still, when I replace I get the same error as above.
3. I also have a .dll file but am not sure if and how I need to use it.
Thanks very much.
In reply to Re^3: Inline::C query
by newbio
in thread Inline::C query
by newbio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |