Click here to get back home

problem using Games::OpenGL::Font::2D and Games::Console

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
problem using Games::OpenGL::Font::2D and Games::Console oneofthem 02-13-2007
Posted by oneofthem on February 13, 2007, 8:47 pm
Please log in for more thread options


Hello,

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
<cut>
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 :)

Similar ThreadsPosted
ANNOUNCE: Games::Go::AGATourn and Games::Go::GoPair modules released January 25, 2005, 9:30 pm
[RFC] Games::Sudoku::General November 30, 2005, 5:58 pm
help wanted to understand reason for test failure (in Games::AlphaBeta) August 1, 2004, 2:25 pm
Free access to several paysites! Free movies - games - software - mp3 - and more! January 17, 2006, 9:21 pm
Free access to several paysites! Free movies - games - software - mp3 - and more! January 17, 2006, 10:27 pm
[ANNOUNCE] Win32::Console::ANSI v1.0 July 3, 2005, 6:30 pm
Module to retrieve general TTF font info May 31, 2005, 5:16 am
run simple opengl example August 19, 2006, 12:33 pm
One Perl/OpenGL texture November 24, 2006, 6:36 am
[ANNOUNCE] Perl OpenGL (POGL) 0.56 July 29, 2007, 6:38 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap