in reply to Re^2: Win32 - gl/glu.h problem
in thread Daunting Problem With Perl Opengl Lighting

How does POGL relate to OpenGL and GLUT?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^4: Win32 - gl/glu.h problem
by syphilis (Archbishop) on Jul 20, 2008 at 09:10 UTC
    How does POGL relate to OpenGL and GLUT?

    The current version of OpenGL on CPAN is 0.56. POGL will (very shortly) become OpenGL-0.57 on CPAN.

    It uses freeglut instead of glut. I think there's a view that freeglut is being better maintained than glut ... and I think (but I'm not sure) that's the reason for the change.

    Cheers,
    Rob
Re^4: Win32 - gl/glu.h problem
by Anonymous Monk on Jul 20, 2008 at 08:43 UTC
    ppm install http://graphcomp.com/opengl/ppm58/OpenGL.ppd ppm install http://graphcomp.com/opengl/ppm58/OpenGL-Image.ppd ppm install http://graphcomp.com/opengl/ppm58/OpenGL-Shader.ppd
        Like I say, ppm just breaks

        That's interesting. I installed that ppm onto one of my perls - but I was using the PPM that's on CPAN, not ActiveState's PPM utility. Try using this as your ppd file instead:
        <SOFTPKG NAME="OpenGL" VERSION="0,56,04,0"> <TITLE>OpenGL</TITLE> <ABSTRACT>Perl binding for OpenGL</ABSTRACT> <AUTHOR>Bob "grafman" Free</AUTHOR> <IMPLEMENTATION> <OS NAME="MSWin32" /> <ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.8" /> <CODEBASE HREF="http://graphcomp.com/opengl/ppm58/OpenGL-0.56_ +04.tar.gz" /> <PROVIDE NAME="OpenGL" VERSION="0.56_04" /> </IMPLEMENTATION> </SOFTPKG>
        It contains <PROVIDE NAME>, the absence of which may (or may not) be the cause of the problem you're having.

        Update: Hmmm ... I don't think that will help. I just tried installing via (ActiveState's) ppm on ActivePerl build 822 and it worked fine for me. I used the same command (and hence PPD file as you did):
        ppm install http://graphcomp.com/opengl/ppm58/OpenGL.ppd
        Cheers,
        Rob