Can't locate Win32/Capture.pm in @INC ...
For me on Strawberry-5.30.0 the building of Win32::GUI::DIBitmap is being skipped because that module can't be built using gcc. At least that's what the Makefile.PL claims.
Therefore that module does not get installed.
However, that module is a pre-requisite for Win32::Capture ... therefore Win32::Capture won't install.
You can force the installation of Win32::Capture by cd'ing to the Win32::Capture build directory and running
gmake install
For me that build directory was C:\Users\me\.cpan\build\Win32-Capture-1.6-1.
However, doing so is futile:
C:\>perl -MWin32::Capture -le 1
Can't locate Win32/GUI/DIBitmap.pm in @INC (you may need to install th
+e Win32::GUI::DIBitmap module) (@INC contains: C:/_64/strawberry-5.30
+.0/perl/site/lib C:/_64/strawberry-5.30.0/perl/vendor/lib C:/_64/stra
+wberry-5.30.0/perl/lib) at C:/_64/strawberry-5.30.0/perl/site/lib/Win
+32/Capture.pm line 8.
BEGIN failed--compilation aborted at C:/_64/strawberry-5.30.0/perl/sit
+e/lib/Win32/Capture.pm line 8.
Compilation failed in require at -e line 1.
I don't see much chance of a workaround. According to its Makefile.pl, Win32::GUI::DIBitmap won't even build with 64 bit msvc compiler.
Do you have a 32 bit Microsoft compiler handy ?
Another hack is to edit Win32/Capture.pm so that it no longer tries to load Win32::GUI::DIBitmap, but I suspect (untested) that might render Win32::Capture unusable.
Still, it's something else for you to try if you think it might be useful.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.