I really want to use Inline for a project that I am working on, but am having trouble
getting it to run. I am using one of the simple sample files that are provided with
the documentation, but get error messages when attempting to run it. If you could
please help me, I would be very appreciative.
I am using Perl 5.6.1 build 630 for MSWin32-x86-multi-thread and Inline 0.43
I will send any of the files listed below if you feel that they are necessary.
Thanks!
THE PROGRAM:
use Inline (C => Config => CC => 'C:\\BCC55\\bin\\bcc32.exe -l- -c
-IC:\\bcc55\\Include');
use Inline C => <<'END_C';
void greet() {
printf("Hello, world\n");
}
END_C
greet;
THIS IS THE ERROR MESSAGE:
Bad command or file name
Can't open Makefile for input: No such file or directory
at Inline_test-2.pl line 3
BEGIN failed--compilation aborted at Inline_test-2.pl line 8 .
THIS IS THE DIRECTORY THAT WAS CREATED:
C:\Program Files\Perl
Builder2\examples\_Inline\build\main_C_C__PROGRA_1_PERLBU_1_debug_Inline_test_2_pl_0c514e972bf34c154b1f180d9b524eb1
THESE ARE THE FILES THAT IT CONTAINS:
INLINE.h
main_C_C__PROGRA_1_PERLBU_1_debug_Inline_test_2_pl_0c514e972bf34c154b1f180d9b524eb1.xs
Makefile.PL