Inline C on Windows - what am i doing wrong?
From: SketchySteve (nospamplease_at_no.com)
Date: 03/31/04
- Next message: nick: "Simple File Parse"
- Previous message: Bing Du: "Re: CGI script does not print values selected???"
- Next in thread: SketchySteve: "Re: Inline C on Windows - what am i doing wrong?"
- Reply: SketchySteve: "Re: Inline C on Windows - what am i doing wrong?"
- Reply: gnu valued customer: "Re: Inline C on Windows - what am i doing wrong?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 22:27:13 +0100
Hi there,
I have a fairly simple C function which I need to itegrate into a perl
script. I have decided to use Inline for this task.
First I needed nmake for Visual Studio 6.0 C++. I found this file here
http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
installed it and set a path variable so it could be found.
After installing Inline and nmake I am still unable to run simple hello
world c progs or any other type either. I always get this message.
Had problems bootstrapping Inline module 'hello_pl_b1a6'
Can't locate loadable object for module hello_pl_b1a6 in @INC (@INC
contains: C:\_Inline\lib C:/Perl/lib C:/Perl/site/li
b .) at C:/Perl/site/lib/Inline.pm line 500
at C:\hello.pl line 0
INIT failed--call queue aborted.
This is a very urgent problem and help would be appreciated greatly. Am
really wracking my brain to work out what might be going wrong. Could it be
that my version of Perl was not compiled with nmake (i'm using 5.8 with
windows XP)?
Here is the program giving the error message
use Inline C;
greet('Ingy');
greet(42);
__END__
__C__
void greet(char* name) {
printf("Hello %s!\n", name);
}
This is from the inline cook book and all other program fail aswell (in the
same way).
Thanks in advance for your help
Steve
- Next message: nick: "Simple File Parse"
- Previous message: Bing Du: "Re: CGI script does not print values selected???"
- Next in thread: SketchySteve: "Re: Inline C on Windows - what am i doing wrong?"
- Reply: SketchySteve: "Re: Inline C on Windows - what am i doing wrong?"
- Reply: gnu valued customer: "Re: Inline C on Windows - what am i doing wrong?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|