Hi,
Kinda new to XS and interfacing Perl with Win32 C code. I looked at the tutorial for perlXS and am trying to get the first serious code to work on my Windows XP system. When trying to compile the example here
http://www.perldoc.com/perl5.8.0/pod/perlxstut.html#EXAMPLE-4
I always get the following error on my machine
MakeMaker (v5.45) Warning (non-fatal): Target 'dynamic' depends on targets in skipped section 'dynamic_lib' Warning (non-fatal): Target 'static' depends on targets in skipped section 'static_lib' Writing Makefile for Mytest2::mylib Writing Makefile for Mytest2
And when running nmake, I get the following error,
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp Mytest2.pm blib\lib\Mytest2.pm AutoSplitting blib\lib\Mytest2.pm (blib\lib\auto\Mytest2) mylib/libmylib.lib: mylib/Makefile 'mylib' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'mylib' : return code '0x1' Stop.
I have done the steps exactly as mentioned in the example and did not read any Win32 specific things that I needed to do to get this to work. Any clues? FYI: Programs 1-3 work fine.
hari |
- Re: PelXS on Win32 example Thantry, Hariharan L
- Re: PelXS on Win32 example Bruce Gray