Welcome to the Monastery | |
PerlMonks |
Re: Error in OpenGLby kevbot (Vicar) |
on Apr 10, 2016 at 06:13 UTC ( [id://1160042]=note: print w/replies, xml ) | Need Help?? |
Hello stolzstudio,
I took a look at the source of OpenGL, and it appears that glpOpenWindow is a wrapper around glpcOpenWindow. However, if I modify your code slightly to call glpcOpenWindow directly, I get this error message:
By the way, I'm on a Mac (running OS X 10.11, El Capitan). I found a couple threads that seem to encounter a similar problem: I gave up trying to get variations of your code to work, but I found a good site with working perl OpenGL examples here: http://nehe.gamedev.net/tutorial/lessons_01__05/22004/. I downloaded and ran the perl code for the first two lessons, and they both worked (the download links are at the bottom of each lesson page). Perhaps those examples will be helpful. Update: I made some minor formatting edits.
In Section
Seekers of Perl Wisdom
|
|