It seems Tk::WinPhoto is part of the Tk bundle. If you grab that from CPAN there is a readme file for ActiveState in there that reads:

Tk800.013 has been built by the author using ActivePerl from ActiveState's APi509e.exe. You need Visual C++ (Mine is version 6.0 - Professional Edition). When you install ActivePerl, it provides patched C runtime as PerlCRT. +dll which it installs in the "system32" directory. This needs "administrator" rights on NT. It also provides the import library PerlCRT.lib, but this is installed in an odd location e.g. C:\ActivePerl\lib\CORE\PerlCRT.lib where it is not found by MakeMaker or VC++. I copied it to C:\VisualStudio\VC98\lib\PerlCRT.lib (Your paths may vary dependinh where you installed ActivePerl and VC++ +.) Once that is done: perl Makefile.PL nmake nmake test nmake install_perl Works as expected. With prior verions of ActivePerl and Tk it has been necessary with some versions of VC++ to downgrade "optimization"; from -O2 that ActivePerl suggests, to -Od. This does not _seem_ to be required this time.

Now, you may be able to get away without using Visual Studio, by downloading the (free) Platform SDK from Microsoft that includes nmake.


In reply to Re: Tk::WinPhoto for ActiveState by puploki
in thread Tk::WinPhoto for ActiveState by avo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.