PerlGameDev / SDL

Rehashing the old perl SDL binding on cpan.org
http://search.cpan.org/dist/SDL
GNU General Public License v2.0
81 stars 29 forks source link

Failed to load SDL dll file #269

Open asb-capfan opened 10 years ago

asb-capfan commented 10 years ago

Hi!

I just installed Alien::SDL 1.444 and tried to install SDL from CPAN shell. It crashes when trying to load SDL (it even shows some GUI error message):

FROGGS/SDL-2.544.tar.gz C:\Strawberry\perl\bin\perl.exe ./Build -- OK Running Build test [Alien::SDL] Build option used: Binaries Win/32bit SDL-1.2.14 (extended, 20100704) RECOMMENDED (gfx, image, mixer, net, smpeg, ttf, sound, svg, rtf, Pango) Building SDL t\00-load.t .....................

Failed test 'use SDL;'

at t\00-load.t line 88.

t\00-load.t ..................... 1/? # Tried to use 'SDL'.

Error: Can't load 'C:\STRAWB~1\cpan\build\SDL-2.544-kxQPdG\blib\arch/auto

/SDL_perl/SDL_perl.xs.dll' for module SDL_perl: load_file:Das angegebene Modul w urde nicht gefunden at C:/Strawberry/perl/lib/DynaLoader.pm line 193.

at C:\STRAWB~1\cpan\build\SDL-2.544-kxQPdG\blib\lib/SDL.pm line 42.

Compilation failed in require at C:\STRAWB~1\cpan\build\SDL-2.544-kxQPdG\blib\

lib/SDL.pm line 42.

BEGIN failed--compilation aborted at C:\STRAWB~1\cpan\build\SDL-2.544-kxQPdG\b

lib\lib/SDL.pm line 42.

Compilation failed in require at t\00-load.t line 88.

BEGIN failed--compilation aborted at t\00-load.t line 88.

Bailout called. Further testing stopped: Test failed. BAIL OUT!. FAILED--Further testing stopped: Test failed. BAIL OUT!. FROGGS/SDL-2.544.tar.gz C:\Strawberry\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports FROGGS/SDL-2.544.tar.gz Stopping: 'install' failed for 'F/FR/FROGGS/SDL-2.544.tar.gz'. Failed during this command: FROGGS/SDL-2.544.tar.gz : make_test NO

Some more information:

It seems that I'm not the only one and that the problem started with Perl 5.20: http://matrix.cpantesters.org/?dist=SDL;os=mswin32;reports=1