in reply to Re^2: Win32::GUI Installation Errors
in thread Win32::GUI Installation Errors

I just downloaded the 64bit version of Perl, which is still in Beta. I ran the installation process again, and got this error:
In file included from Scintilla.xs:8: ../GUI.h:100: note: #pragma message: *** Using Preserved Perl context. In file included from Scintilla.xs:8: ../GUI.h:768: warning: 'ImageList_Duplicate' redeclared without dllimp +ort attribute: previous dllimport ignored Scintilla.xs: In function 'CallWndProc': Scintilla.xs:199: error: 'GWL_USERDATA' undeclared (first use in this +function) Scintilla.xs:199: error: (Each undeclared identifier is reported only +once Scintilla.xs:199: error: for each function it appears in.) dmake: Error code 129, while making 'Scintilla.o' dmake: Error code 255, while making 'subdirs'
The error codes are the same, but the file that is causing the trouble is different. Any ideas?

- Cbeppe

Replies are listed 'Best First'.
Re^4: Win32::GUI Installation Errors
by Anonymous Monk on Dec 20, 2010 at 11:36 UTC

    Win32::GUI is known to have problems on 64bit Windows
    You can try my patched version from:

    http://strawberryperl.com/package/kmx/perl-modules-patched/Win32-GUI-1.06_patched2.tar.gz

    It builds fine on 64bit Strawberry Perl 5.12.

    --
    kmx

      I tried that, but I keep getting those same errors. I also tried installing the Perl/TK module as an alternative, but the installer returned the same error codes (although in different files.)

      I'm afraid the problem must be somewhere on my computer or in what I'm doing because this is very strange. I've installed TK before without any trouble.

      I'll try using an earlier version of Perl and see how that goes...

        Providing you have Strawberry Perl 5.10.1.x installed in c:\strawberry (and assuming the installation is not corrupted "somehow"), try this:

        1. open a new command prompt window (standard cmd.exe)

        2. run command: set PATH=c:\strawberry\perl\site\bin;c:\strawberry\perl\bin;c:\strawberry\c\bin;%SystemRoot%\system32

        3. now command "gcc --version" should return "gcc (GCC) 3.4.5 (mingw-vista special r3)"

        4. command "perl -V:myuname" should return "myuname='Win32 strawberryperl 5.10.1.3 ...... i386';"

        5. command "dmake -V" should say "dmake - Version 4.8-20070327-SHAY (Windows / MS Visual C++)"

        6. command "cpan -i Win32::GUI" should install Win32::GUI module from CPAN without troubles

        --
        kmx