Which version of Inline::C do you have?
( what does perl -mInline::C -e"die Inline::C->VERSION" report?)
Do you have a compiler?
Did you install Inline::C? (perl Makefile.PL...)
Did all tests pass?
Did you try reinstalling Inline::C?
update: works fine for me
C:\>perl -mInline::C -e"die Inline::C->VERSION"
0.43 at -e line 1.
C:\>perl -V
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultip
+licity=define
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DN
+O_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_S
+Y
S -DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
+ lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:/
+Perl\lib\CORE" -machine:x86'
libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" "C:
+\Program Files\Microsoft Visual Studio\VC98\lib" "C:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
+ comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netap
+i
32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
+odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool
+.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib n
+e
tapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.
+lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -l
+ibpath:"C:/Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEX
+T PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 633
Built under MSWin32
Compiled at Jun 17 2002 21:33:05
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
C:\>perl
use Inline C;
use warnings;
greet('Ingy');
greet(42);
__END__
__C__
void greet(char* name)
{
printf("Hello %s!\n", name);
}
^Z
Hello Ingy!
Hello 42!
C:\>
C:\>dir /od|tail
12/25/2002 11:02p <DIR> mysql
12/30/2002 09:43a <DIR> Program Files
01/01/2003 09:01a <DIR> wxWindows_2.3.4
01/01/2003 09:14a <DIR> WINNT
01/01/2003 09:51p 600 PUTTY.RND
01/03/2003 01:33a <DIR> TEMP
01/03/2003 02:29a <DIR> cygwin
01/03/2003 03:18p <DIR> _Inline
7 File(s) 783,976 bytes
27 Dir(s) 1,945,975,296 bytes free
C:\>tree /a /f _Inline
Folder PATH listing for volume CRAP
Volume serial number is 0006FE80 3410:8AA3
C:\_INLINE
| config
|
+---build
\---lib
\---auto
\---FOO_3d5d
FOO_3d5d.dll
FOO_3d5d.inl
C:\>
MJD says you
can't just make shit up and expect the computer to know what you mean, retardo!
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|