Chris Marshall wrote:
Announcing the release to CPAN of the Perl OpenGL-0.59 release supporting 
PDL::Graphics::TriD.  It has improved robustness, portability, a number of bug 
fixes, and (did I mention) it support the new PDL::Graphics::TriD visualization 
code.

Enjoy!
Chris Marshall

+------------------------------------------------------------------------+
|                      OpenGL-0.59 Release Notes                         |
+------------------------------------------------------------------------+

  * Now builds out of the box on many linux, PC, and Mac OS X systems
    as a result of the move to FreeGLUT/GLUT for GUI operations.

  * This is the base release for the upcoming PDL-2.4.5 release with
    refactored 3D graphics using the Perl OpenGL module.

  * Improved Mac OS X build support, especially with GLUT (not FreeGLUT)
    and no X11 installed or server running.
* Improved FreeGLUT binding and support for FreeGLUT vs GLUT.
    A number of bugs stomped.
* Improved linux/GLX+X11 build support control although FreeGLUT or
    GLUT(on Mac OS X) is preferred.
* Fix MinGW detection logic for ActivePerl configurations * Code clean up and bugs fixed. Many were discovered as a result of
    the reconcilliation with PDL::Graphics::OpenGL requirements.
* A few glp*() functions from PDL were added to POGL and confirmed
    consistent API with PDL::Graphics::OpenGL
* glpcOpenWindow() is deprecated as an external, user visible function.
    The use of glpOpenWindow() is recommended.  It provides the exact
    same set of options and control.
* Various documentation updates. * The test.pl demo program now works more robustly.
Chris,

I can't get this to build on my 64-bit Scientific Linux (i.e., CentOS, i.e., RHEL5) box. I installed Freeglut 2.6.0rc1 to ~/local. At first, utils/glversion would not build, but did once I prepended "-I/home/dlamb/local/include" to the utils/Makefile's INC line, and prepended "-L/home/dlamb/local/lib -L/usr/lib64" to the LIB line.

In order to be sure that the correct GL library is being linked in (since I also have Mesa on this computer in /usr/lib/ or similar), I changed the top-level Makefile.PL so that line 117 starts the chunk:

@our libdirs = qw { -L/home/dlamb/local/lib };
@our check_libs = qw { -lglut };
and line 454 starts:
@my includes = qw { -I/home/dlamb/local/include };

Running
$ perl Makefile.PL INSTALL_BASE=~/local verbose
produces the output in the attached makefile.pl.out, which seems to be OK.
Running make produces the output in make.out.0, which complains about GLUT_INIT_STATE in glut_const.h. Commenting out that one line and making again lets it get passed, but then it gets stuck on an error in pogl_glu.c (in attached make.out.1.

I could keep commenting things out, but I feel like there's a deeper problem. Any advice?

Derek

Attachment: lamb_make_outputs.tar.gz
Description: GNU Zip compressed data

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to