in reply to WANTED: Simple & portable graphics to use with Perl

The Perl Hacks book mentions SDL. I think it's what Frozen Bubble uses.
  • Comment on Re: WANTED: Simple & portable graphics to use with Perl

Replies are listed 'Best First'.
Re^2: WANTED: Simple & portable graphics to use with Perl
by jds17 (Pilgrim) on Jun 02, 2008 at 21:10 UTC
    Hi pc88mxer, thanks for the info. In fact, a few minutes ago I did an
    apt-get install libsdl-perl
    (for Xandros), downloaded the Perl Hacks book code and got the sdl_animation.pl program running. So I guess this counts as a partial success.

    In any case I would be very interested in alternatives. Are there any simpler solutions if I just need to draw some primitives using a few colors and have a decent animation?

Re^2: WANTED: Simple & portable graphics to use with Perl
by jds17 (Pilgrim) on Jun 02, 2008 at 22:06 UTC
    I tried to get SDL to work on Win XP and did not succeed. I would rather not use the OpenGL module on Windows XP and SDL on Xandros for the same project.

    Therefore, dear monks, I would appreciate any alternative idea. By the way, I already did some searches on CPAN without finding an appropriate module, but maybe I overlooked a gem or two :-)

      Why doesn't the SDL work in XP? How didn't you succeed? Is it impossible or did you just give up?

      -Paul

        I just tried a few hours, so I would not say it is impossible. Right now I am not at home at my computer, but I remember an error message "cannot find sdl-config" when trying to install the SDL module from CPAN. I did not find which configuration was missing. The next step, of course, would be to look at the module source, but I was already a bit tired of SDL at that point. Do you have a suggestion?

        By the way, (on Windows XP) I am using Strawberry Perl 5.10.0.1.

        José