stolzstudio has asked for the wisdom of the Perl Monks concerning the following question:

I try started work with Perl OpenGL and wrote a simple program:
use OpenGL; sub glInit { glpOpenWindow(); } glInit(); print "Press return to exit\n"; while ( <> ) { exit; }
But in line glpOpenWindow i have error:
Goto undefined subroutine &AutoLoader::AUTOLOAD at /Library/Perl/5.18/ +darwin-thread-multi-2level/OpenGL.pm line 6110.
How can i fix it?

Replies are listed 'Best First'.
Re: Error in OpenGL
by kevbot (Vicar) on Apr 10, 2016 at 06:13 UTC
Re: Error in OpenGL
by jmlynesjr (Deacon) on Apr 11, 2016 at 01:08 UTC

    When I built wxWidgets 3.0.1 and wxPerl on Ubuntu 14.04, OpenGL was one of the dependencies that I had to install from CPAN.

    James

    There's never enough time to do it right, but always enough time to do it over...