flyingmoose has asked for the wisdom of the Perl Monks concerning the following question:
Using Perl 5.8.x on various Linux distributions including Fedora Core 1 (stock) and SuSE 8.2 (stock), I am unable to install OpenGL.pm using CPAN.
I get the usual errors about undefined symbols: example: gl_const.h: GL_COLOR_TABLE_ALPHA_SIZE_EXT undeclared
OpenGL apps still work on these boxes, as I have had great success writing C++ programs that use Glut and FreeGlut. So my OpenGL is right. The include paths are right. I just think OpenGL.pm is written to use some older headers (though I could be very wrong).
So, the question is this -- is OpenGL.pm horribly broken for these configurations, or is there a workaround?
Is there an easier and/or better OpenGL path I should be trying instead? There are numerous choices out there, but it is difficult to seperate the wheat from the chaff.
I'd love to use Perl to drive my graphics programming endeavors. My box is fast enough, and once one has tasted of the Perl, the C++ just doesn't seem as cool. The other alternative is to do something drastic like embed a Perl interpreter or use Lua -- I don't want to go there (yet) -- straight up Perl is much more fun.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using OpenGL modules with modern Linux Distros?
by chromatic (Archbishop) on Jan 28, 2004 at 22:12 UTC | |
by flyingmoose (Priest) on Jan 29, 2004 at 17:15 UTC | |
by chromatic (Archbishop) on Jan 29, 2004 at 18:19 UTC | |
by flyingmoose (Priest) on Jan 30, 2004 at 00:30 UTC |