Bonjour,

Je tente de compiler le module Win32::GUI (Perl-5.16.3, MSWin32-x64-multi-thread) sans succés.
J'obtient le résultat suivant :

G:\Sources_Modules_Perl-5.16.3\Win32-GUI-1.06>C:\perl-5.16.3\bin\perl Makefile.P
L


BUILDENV=vc Used build environment is: MSWin32 and Visual C++


NOTE: Makefile.PL will add the instruction to use the Resource Compiler to
your Makefile; if you don't want to compile resources with your extension,
call this script with this additional argument:

perl Makefile.PL USERESOURCE=0

Checking if your kit is complete...
Looks good
Writing Makefile for Win32::GUI::AxWindow
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::BitmapInline
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::Constants - perfect.exe
Writing Makefile for Win32::GUI::Constants
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI:IBitmap
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI:ropFiles
Writing MYMETA.yml and MYMETA.json
Note (probably harmless): No library found for -lMfc42
Note (probably harmless): No library found for -lEafxis
Writing Makefile for Win32::GUI::Grid
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::ReleaseNotes
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI::Scintilla
Writing MYMETA.yml and MYMETA.json
Writing Makefile for Win32::GUI
Writing MYMETA.yml and MYMETA.json

G:\Sources_Modules_Perl-5.16.3\Win32-GUI-1.06>nmake

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

cp GridLayout.pm blib\lib\Win32/GUI/GridLayout.pm
cp GUI.pm blib\lib\Win32/GUI.pm
nmake -f Makefile all -nologo W32G_CORE=1
cp AxWindow.pm ..\blib\lib\Win32\GUI\AxWindow.pm
C:\perl-5.16.3\bin\perl.exe C:\perl-5.16.3\lib\ExtUtils\xsubpp -typemap
C:\perl-5.16.3\lib\ExtUtils\typemap -typemap typemap AxWindow.xs > AxWindow.xs
c && C:\perl-5.16.3\bin\perl.exe -MExtUtils::Command -e mv -- AxWindow.xsc AxWin
dow.cpp
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DWIN32 -D
_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NO
NSTDC_NO_DEPRECATE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLIC
IT_SYS -DUSE_PERLIO -MD -Zi -DNDEBUG -Ox -GL -fp:precise -DVERSION=\"0.09\"
-DXS_VERSION=\"0.09\" "-IC:\perl-5.16.3\lib\CORE" AxWindow.cpp
AxWindow.cpp
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE\atlwin.h(32
89) : error C2440: 'return' : cannot convert from 'INT_PTR (__cdecl *)(HWND,UINT
,WPARAM,LPARAM)' to 'DLGPROC'
This conversion requires a reinterpret_cast, a C-style cast or function-
style cast
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE\atl
win.h(3288) : while compiling class template member function 'DLGPROC ATL::CDial
ogImplBaseT<TBase>::GetDialogProc(void)'
with
[
TBase=ATL::CWindow
]
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE\atl
win.h(3831) : see reference to class template instantiation 'ATL::CDialogImplBas
eT<TBase>' being compiled
with
[
TBase=ATL::CWindow
]
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE\atl
win.h(3863) : see reference to class template instantiation 'ATL::CSimpleDialog<
t_wDlgTemplateID,t_bCenter>' being compiled
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\amd64\nmake.EXE"' : return code '0x2'
Stop.



Quelqu'un a-t-il une idée de ce qui va pas ?

Merci.