problem using Games::OpenGL::Font::2D and Games::Console
am 14.02.2007 02:47:23 von oneofthemHello,
I'm trying to use the examples from the following
Games::OpenGL::Font::2D and Games::Console modules but getting the
following error:
me@phoenix:~/Desktop/testgl/tst$ ./font.pl
Bareword "SDL_KEYDOWN" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 122.
Bareword "SDL_KEYUP" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 122.
Bareword "SDL_MOUSEBUTTONUP" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 122.
Bareword "SDL_MOUSEBUTTONDOWN" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 122.
Bareword "KMOD_LSHIFT" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 48.
Bareword "KMOD_RSHIFT" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 48.
Bar
Bareword "KMOD_RALT" not allowed while "strict subs" in use at
/usr/local/lib/perl/5.8.7/SDL/App/FPS/EventHandler.pm line 189.
Compilation failed in require at
/usr/local/lib/perl/5.8.7/SDL/App/FPS.pm line 19.
BEGIN failed--compilation aborted at
/usr/local/lib/perl/5.8.7/SDL/App/FPS.pm line 19.
Compilation failed in require at lib/SDL/App/FPS/MyFont.pm line 16.
BEGIN failed--compilation aborted at lib/SDL/App/FPS/MyFont.pm line 16.
Compilation failed in require at ./font.pl line 15.
BEGIN failed--compilation aborted at ./font.pl line 15.
me@phoenix:~/Desktop/testgl/tst$
SDL::OpenGL seems to work fine :)
Is this a version incompatibility?
Can someone help me getting it work?
Thank you very much :)