in reply to Re: Cannot compile Encode::Detect on Windows
in thread Cannot compile Encode::Detect on Windows

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