Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / April 2007



Tip: Looking for answers? Try searching our database.

Perl OpenGL 0.55 - Need Mac testers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob Free - 17 Apr 2007 16:04 GMT
A new Perl OpenGL 0.55 candidate has been released:
http://graphcomp.com/opengl

This release has focused on providing support for GPGPU features, and adds
support for 52 OpenGL extensions, including Framebuffer Object (FBO), Vertex
Buffer Object (VBO) and Vertex/Fragment Program extensions.

This has been testing on Linux (Fedora/Ubuntu/Gentoo), Windows (NT/XP/Vista)
and Solaris.  We have received 0 reports from Mac developers, and would love
to have your feedback before submitting this release to CPAN.

Thanks! - Bob Free
Sherm Pendley - 19 Apr 2007 21:10 GMT
> A new Perl OpenGL 0.55 candidate has been released:
> http://graphcomp.com/opengl
[quoted text clipped - 10 lines]
> would love
> to have your feedback before submitting this release to CPAN.

It needed a few tweaks to build, but once the build issues were  
sorted, the spinning texture-mapped cube test runs fine on my G4 w/
ATI Radeon 9000 Pro.

Diff with the build changes is attached, if anyone else feels like  
testing it.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
David Romano - 19 Apr 2007 22:21 GMT
Sherm Pendley wrote on Thu, Apr 19, 2007 at 01:10:11PM PDT:
> It needed a few tweaks to build, but once the build issues were  
> sorted, the spinning texture-mapped cube test runs fine on my G4 w/
> ATI Radeon 9000 Pro.
>
> Diff with the build changes is attached, if anyone else feels like  
> testing it.
Thanks Sherm. With your tweaks, it also builds and tests fine on my Mac
Mini w/ATI Radeon 9200.

- David

Signature

"I'm going to put your inner child to work in a factory."
   -- James Stoner-Holk

Claes Jakobsson - 19 Apr 2007 22:36 GMT
> Sherm Pendley wrote on Thu, Apr 19, 2007 at 01:10:11PM PDT:
>> It needed a few tweaks to build, but once the build issues were
[quoted text clipped - 6 lines]
> Mac
> Mini w/ATI Radeon 9200.

As does it on my MacBook (first gen) w/ Intel GMA950 with the patch  
applied running 10.4.9

Compiled and tested with

5.8.6 (the one Apple ships):
No warnings, no errors

5.8.8:
Got a warning:
    OpenGL.c: In function 'XS_OpenGL_glutInit':
    OpenGL.xs:11329: warning: ignoring return value of 'Perl_av_shift',  
declared with attribute warn_unused_result

however it runs just fine

5.6.2:
No warnings, no errors

/claes
Stephen Rouse - 19 Apr 2007 23:32 GMT
On 19 apr 2007, at 23.21, David Romano wrote:
> Sherm Pendley wrote on Thu, Apr 19, 2007 at 01:10:11PM PDT:
>> It needed a few tweaks to build, but once the build issues were
[quoted text clipped - 6 lines]
> Mac
> Mini w/ATI Radeon 9200.

and on my G5 with nVidia GeForce 6800.
Thanks Sherm, and Bob as well.

-stephen
John Delacour - 20 Apr 2007 00:13 GMT
>It needed a few tweaks to build, but once the build issues were
>sorted, the spinning texture-mapped cube test runs fine on my G4
>w/ATI Radeon 9000 Pro.
>
>Diff with the build changes is attached, if anyone else feels like testing it.

Sherm,

For dummies like me can you please describe the process of
installing. Where does the .diff file go etc?  I put the file in
OpenGL-0.55/, did perl Makefile.PL and got

...
...
Note (probably harmless): No library found for -lMesaGLUT
No OpenGL libs found

so obviously that was a bad guess :-)

JD
Sherm Pendley - 20 Apr 2007 00:45 GMT
>> It needed a few tweaks to build, but once the build issues were  
>> sorted, the spinning texture-mapped cube test runs fine on my G4 w/
[quoted text clipped - 5 lines]
> For dummies like me can you please describe the process of  
> installing. Where does the .diff file go etc?

Diffs are used as input for the 'patch' command. On my machine:

    local:~/incoming/OpenGL-0.55 sherm$ patch -p1 < ../OpenGL-0.55-
Macosx.diff
    patching file MANIFEST
    Hunk #1 FAILED at 68.
    1 out of 1 hunk FAILED -- saving rejects to file MANIFEST.rej
    patching file Makefile.PL
    patching file glu_util.h
    patching file include/GL/glut.h
    patching file utils/Makefile.macosx

I'm not sure why the patch to the MANIFEST file was rejected, it just  
adds a single line. It won't cause test failures, but the 'utils/
Makefile.macosx' file won't be included in the distribution tarball  
without it. :-(

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Sherm Pendley - 20 Apr 2007 01:46 GMT
> I'm not sure why the patch to the MANIFEST file was rejected, it  
> just adds a single line. It won't cause test failures, but the  
> 'utils/Makefile.macosx' file won't be included in the distribution  
> tarball without it. :-(

Okay, I got that sorted - I think it was an encoding and/or line  
ending issue. I piped the first diff to BBEdit, then saved it; I  
redirected this one straight to a file instead, and it applies cleanly.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Daniel Staal - 20 Apr 2007 13:42 GMT
--As of April 19, 2007 8:46:13 PM -0400, Sherm Pendley is alleged to have
said:

>> I'm not sure why the patch to the MANIFEST file was rejected, it
>> just adds a single line. It won't cause test failures, but the
[quoted text clipped - 9 lines]
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net

--As for the rest, it is mine.

Works here.  Mac Pro, 2.66x2 Intel, ATI Radeon X1900.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
John Delacour - 20 Apr 2007 15:01 GMT
>Works here.  Mac Pro, 2.66x2 Intel, ATI Radeon X1900.

Fine here too.  Mac Mini G4, Radeon 9200

JD
Sherm Pendley - 19 Apr 2007 21:22 GMT
> A new Perl OpenGL 0.55 candidate has been released:
> http://graphcomp.com/opengl

Incidentally, thank you for adopting this module. I first got it  
working on Mac OS X 10.0 some six or seven years ago, but the docs  
more or less said it had been abandoned. I sent my patch to the last  
listed owner, but never heard back from him.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.