SDL 2.516 Tutorial::LunarLander Error

[email protected] (Pip Stuart)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Hi SDLPerl Homiez,

I just tried to install SDL 2.516 from the CPAN onto my Ubuntu box &&
I'm perplexed as the install process seemed to succeed but when I ran:
[pip@AkuA9KH0Zq~/.tmp]perl -MSDL::Tutorial::LunarLander=lander.pl -e1
[-] created 'lander.pl'
[-] created 'images'
[-] created 'images/ship.jpg'
[-] created 'images/background.jpg'
[pip@AkuA9KH0pf~/.tmp]perl lander.pl
Can't call method "w" on an undefined value at lander.pl line 22.

I also tried `perl -MSDL::Tutorial -e 1` && a black window flashed on
the screen kinda as expected && `perl
-MSDL::Tutorial::Animation=sdl_anim.pl -e 1` did properly animate the
blue rectangle slow then fast.

Any ideas why lander.pl line 19
SDL::Image::load('images/background.jpg'); would fail? Thanks in
advance for any help. I want to get at least basic SDLPerl stuff
working to learn from (if not FrozenBubble).

Peace,
-Pip@CPAN
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.