Debian Fail: http://paste.scsys.co.uk/40907
Windows Fail: http://paste.scsys.co.uk/40908
Value: More fails
... in SDL_perl this time
Value: Okay, first error (Debian Fail: http://paste.scsys.co.uk/40907 / Windows Fail: http://paste.scsys.co.uk/40908) are due to Module::Build 0.35
Next problem for Windows:
the headers and libs are installed to:
C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.0_25254e41\bin\, include\ and lib\
But the PATH env var isnt set, so if I try to run the tests for SDL_perl i get an error message that it cant find the SDL.dll ...
Value: Maybe we can have it install is Homedir/.SDLperl http://search.cpan.org/dist/File-HomeDir/
Value: My comments based on a discussion with FROGGS
1/ PATH env should not be a problem with pre-build binaries as we use a special Dynaloader trick in SDL::Internal::Loader - if there occurs an error "some.dll cannot be loaded" that it should be fixed in SDL::Internal::Loader
2/ currently RECOMMENDED binaries for Win32 work just on Win7 (where they were built) but not on WinXP (confirmed by FROGGS + me)
3/ possible cause1: binaries were built on Win7 and simply expects something that is not present on WinXP
4/ possible cause2: binaries were build with gcc4 compiler + mingw-w64 c-runtime (whereas strawberry perl uses gcc3 compiler + mingw.org c-runtime)
5/ I'll try to prepare new libsdl binaries built on WinXP box
Value: Bad news, rebuilding libsdl & co. binaries on WinXP did not help; there must be something else broken.
Anyway I have put the old Win32 binaries as a default option in Alien::SDL.
Value: non perl SDL code works on Win7 as well as WinXP
Value: Interesting is that sample programs delivered with SDL-1.2.14 (eg. testbitmap.exe) work fine on both Win7 & WinXP.
Value: Alien SDL 35a377 breaks on Linux, Windows
Value: Hi, its the same with the new binaries (20100319).
C:\SDL_perl>gdb --args perl c:\gfx_primitives.pl
GNU gdb (GDB) 188.8.131.5200202
Copyright (C) 2010 Free Software Foundation, Inc.
Starting program: C:\strawberry\perl\bin/perl.exe c:\gfx_primitives.pl
[New Thread 4704.0x1300]
got version: 2.0.20[New Thread 4704.0x153c]
Program received signal SIGSEGV, Segmentation fault.
0x6ebb4860 in DX5_HandleMessage () from C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.0_1b366838\bin\SDL-specbuild_sdl32.dll
(gdb) bt full
#0 0x6ebb4860 in DX5_HandleMessage () from C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.0_1b366838\bin\SDL-specbuild_sdl32.dll
#1 0x6ebadf94 in WinMessage@16 () from C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.0_1b366838\bin\SDL-specbuild_sdl32.dll
#2 0x7e418734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#3 0x00b6058a in ?? ()
#4 0x7e418816 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#5 0x6ebadd00 in TrackMouseTimerProc@16 () from C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.0_1b366838\bin\SDL-specbuild_sdl32.dll
#6 0x7e41b4c0 in USER32!DefWindowProcW () from C:\WINDOWS\system32\user32.dll
#7 0x00000000 in ?? ()
so i guess its a about directx headers? i've got directx 9.0c.
Value: New binaries are released, these work perfectly (with precompiled SDL-lib from http://www.libsdl.org/release/SDL-1.2.14-win32.zip)