Hi Chris,

I thought I'd give the developer's version of PDL and TriD a go on a MacBook.

I've hit a bug in compiling PDL with OpenGL and TriD - since I messed
up my mac perl installation somehow (my @INC contains references to
perl 5.8.6 ad 5.8.8...) I decided to compile a local copy of perl from
scratch and also pull down the latest PDL and POGL. I've documented
the whole thing at:

http://mmtao.as.arizona.edu/~mattk/nelse/2009/09/28/compile_perl_from_scratch/

Essentially OpenGL compiles, and tests fine with the rotating teapots,
but trying:

../bin/perl -Mblib 3dtest.pl

gives:

$im3 has dims of 3 640 480
get_current_window - creating window...
PDL::Graphics::TriD::Window - calling SUPER::new...
PDL::Graphics::TriD::Window - got back
PDL::Graphics::TriD::Window=ARRAY(0xc9a5e0)
PDL::Graphics::TriD::Window: calling gdriver....
GL gdriver...
Your vendor has not defined OpenGL macro GLX_DOUBLEBUFFER, used at
/Users/mattk/myperl/PDL/blib/lib/PDL//Graphics//TriD//GL.pm line 601.
AUTOLOAD: DESTROY at
/Users/mattk/myperl/PDL/blib/lib/PDL/Graphics/TriD/Window.pm line 224.
Window AUTOLOADing 'DESTROY':
self=PDL::Graphics::TriD::Window=ARRAY(0xc9a5e0), args=''

...so I'm not sure what to look for next.

Cheers,

Matt

--
Matthew Kenworthy / Assistant Astronomer / Steward Observatory
933 N. Cherry Ave. / Tucson AZ 85721 / vox 520 626 6720

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

Reply via email to