The old-style TriD has been made to work on the Mac. There is a
perennial problem with trying to make the libraries link. The latest
turn in the saga is that (A; good) MacOS now includes the OpenGL
libraries and includes as part of the distribution, albeit in a non-
UNIX-standard place ('/System/Libraries/Frameworks/...' rather than '/
usr/lib'); and (B; bad) Apple severely broke the linker, so that
instead of "-lglut" or similar, one must include about 150 characters
of runes on the linking command line to make GL link properly.
The latest git has the correct linking structure and should compile
TriD on modern MacOS's out of the box -- you check out the Makefile.PL
in Graphics/OpenGL to see the horror for yourself.
On Aug 6, 2009, at 8:37 AM, Karl Glazebrook wrote:
> Thanks Chris for the clarification.
>
> Sounds like TriD ought to build if you can figure out the OS X Opengl
> linking Michiel. No promises!
>
> I will look at incorporating the new stuff in to a future release of
> SciKarl
>
> Karl
>
>
>
> On 06/08/2009, at 3:32 PM, Chris Marshall wrote:
>
>>> That said I am not sure the TriD package even
>>> works any more?? What do the Porters say?
>>
>> TriD in PDL-2.4.4 works but does not build on all
>> platforms (I don't know if it has been built or used
>> on OSX).
>>
>> That said, work is underway to refactor the TriD
>> module to use the Perl OpenGL module rather
>> than the internal, hand-rolled PDL::Graphics::OpenGL.
>>
>> The new TriD also moves away from a hardwired
>> X11+GLX windowing interface to one based on
>> GLUT or FreeGLUT which makes things much
>> more portable across platforms.
>>
>> A first cut version of the new TriD should be
>> available by the end of August via the PDL git
>> repository (at least) and via CPAN developers
>> release after that.
>>
>> I would like to see a PDL-2.4.5 release this Fall
>> with the new TriD and other bug fixes.
>>
>> Stay tuned to the perldl mailing list for announcements
>> of availability.
>>
>> As far as SciKarl integration, it might make sense
>> to try to build/install/use the OpenGL-0.57_01
>> developers release. That will give me any feedback
>> for modifications needed to support your platform
>> better. I can't test OSX myself as I do not have a Mac.
>>
>> Regards,
>> Chris
>>
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl