On 6/27/2011 8:53 PM, Sisyphus wrote:
----- Original Message ----- From: "Chris Marshall"
<jns-cmarsh...@comcast.net>
To: "Sisyphus" <sisyph...@optusnet.com.au>
Cc: <cpan-testers-discuss@perl.org>
Sent: Tuesday, June 28, 2011 8:54 AM
Subject: Re: why no testing under Windows?
I remember Curtis building it in one of the
OpenGL on strawberry perl or PDL on same iterations
but hadn't realized it was in the distribution.
That should make OpenGL build out of the box
on win32 for strawberry once the probing is
updated.
As it stands, I think that building OpenGL on Strawberry will use the
freeglut stuff that ships with the OpenGL source (which should already
work straight out of the box) - rather than using the freeglut library
that Strawberry Perl provides.
Yes, but I would like to get out of the business of
having win32 dlls distributed with OpenGL, if possible.
And I would think that,when Curtis built OpenGL on Strawberry Perl he
was probably using OpenGL's freeglut distro, rather than Strawberry Perl's.
I'm pretty sure it was a direct build from the freeglut
source distribution.
If we want to build OpenGL on Strawberry Perl using *Strawberry's*
freeglut distro, then I think the build procedure needs to be rewritten.
(For example, utils/mingw.bat will currently not work with Strawberry's
freeglut distro.)
Anyway ... perhaps this is all encapsulated in "once the probing is
updated".
Yes. As we've discussed, I think it makes much more sense
to encapsulate the external library install issues in an
Alien::FreeGLUT module rather than having random dlls in
various perl modules.
(If you're happy to use OpenGL's freeglut distro, then I think it's just
a matter of turning the probing "off".)
This is what we're using right now on win32 since there
was no win32 freeglut available. Now that strawberry perl
has it and in a standard location, I would prefer going
with that library if possible (still the issue of supporting
ActivePerl or home-built versions).
I presently have to do a bit of hacking at the OpenGL source (nothing
terribly complicated) to build OpenGL without using OpenGL's freeglut
distro - but there's some added complexity for me as I use a *static*
freeglut library.
Yes. I'm planning to get going with the GLEW refactoring
of the OpenGL module too but never seem to get enough
round 'tuits.
Cheers,
Chris