Subject: | Failure on Strawberry 5.12.0 (beta2) |
Hi,
I have tested Imager::Screenshot with Win32 Strawberry Perl 5.12.0 beta2 - the installation fails with the following error:
Could not find X11/Xlib.h (X11 header)
Could not find windows.h (Win32 header)
OS unsupported: Headers or libraries not found for a supported GUI
Sorry, I can't find headers or libraries for a supported GUI
You need to install development headers and libraries for your GUI
For Win32: Platform SDK or a substitute
For X11: X11 headers and libraries, eg. the libX11-dev package on Debian
The problem is that Strawberry Perl 5.12.0 switched to the new gcc toolchain provided by mingw-w64.sf.net (from previoisly used gcc toolchain by mingw.org) which has "windows.h" header in a different location:
- c:\strawberry\c\i686-w64-mingw32\include\windows.h (on 32bit systems)
- c:\strawberry\c\x86_64-w64-mingw32\include\windows.h (on 64bit systems)
To use #include <windows.h> you do not need to set any special -I.. params but trying to find windows.h file in $Config{incpath} (=c:\strawberry\c\include) fails.
--
kmx
I have tested Imager::Screenshot with Win32 Strawberry Perl 5.12.0 beta2 - the installation fails with the following error:
Could not find X11/Xlib.h (X11 header)
Could not find windows.h (Win32 header)
OS unsupported: Headers or libraries not found for a supported GUI
Sorry, I can't find headers or libraries for a supported GUI
You need to install development headers and libraries for your GUI
For Win32: Platform SDK or a substitute
For X11: X11 headers and libraries, eg. the libX11-dev package on Debian
The problem is that Strawberry Perl 5.12.0 switched to the new gcc toolchain provided by mingw-w64.sf.net (from previoisly used gcc toolchain by mingw.org) which has "windows.h" header in a different location:
- c:\strawberry\c\i686-w64-mingw32\include\windows.h (on 32bit systems)
- c:\strawberry\c\x86_64-w64-mingw32\include\windows.h (on 64bit systems)
To use #include <windows.h> you do not need to set any special -I.. params but trying to find windows.h file in $Config{incpath} (=c:\strawberry\c\include) fails.
--
kmx