This doesn't seem to work with the latest ActivePerl (5.10.1.1007)

Executing perl Makefile.PL CC=g++ reports
C:\Packages\Encode-Detect-1.01>perl Makefile.PL CC="cl -TP" # running Build.PL --config cc=cl -TP cl : Command line warning D9035 : option 'o' has been deprecated and w +ill be rem oved in a future release compilet-1026621440.c 'dlltool' is not recognized as an internal or external command, operable program or batch file. LINK : warning LNK4044: unrecognized option '/o'; ignored LINK : warning LNK4044: unrecognized option '/Wl,--base-file,C:\DOCUME +~1\VMUser\ LOCALS~1\Temp\compilet.base'; ignored LINK : warning LNK4044: unrecognized option '/Wl,--image-base,0xa03000 +0'; ignore d LINK : fatal error LNK1181: cannot open input file 'C:\DOCUME~1\VMUser +\LOCALS~1\ Temp\compilet.dll' 'dlltool' is not recognized as an internal or external command, operable program or batch file. LINK : warning LNK4044: unrecognized option '/o'; ignored LINK : warning LNK4044: unrecognized option '/Wl,--image-base,0xa03000 +0'; ignore d LINK : fatal error LNK1181: cannot open input file 'C:\DOCUME~1\VMUser +\LOCALS~1\ Temp\compilet.dll' Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Encode-Detect' version '1.01'

Not sure if this is already an issue but following the guidelines above the nmake test fails and finally trying to make install reports this:
blib\arch\auto\Encode\Detect\Detector\Detector.dll : fatal error LNK11 +20: 5 unre solved externals NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio +9.0\VC\BIN \link.EXE"' : return code '0x460' Stop.

It's a pity since it was working fine under perl 5.8.8

In reply to Re^2: Cannot compile Encode::Detect on Windows by posti
in thread Cannot compile Encode::Detect on Windows by gvr

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.