On Thu, Nov 19, 2009 at 8:43 AM, Jarle Brinchmann <[email protected]> wrote:
> It should be impossible not to have GLUT installed I believe - I think
> it is automatically installed with the operating system.
>
> Antonio: Try to do:
>
>   ls /System/Library/Frameworks/GLUT.framework/
>
> if you find the files there, then GLUT is installed. You can also try
> to look for glut.h:
>
>   locate 'glut.h'

Thank you Jarle... that is what I was looking for. This is what I have

punk...@lucknow ~/Projects$locate glut.h
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h
/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h
/usr/X11/include/GL/glut.h
punk...@lucknow ~/Projects$


>
> A problem might be that the GLUT framework is what Mac uses most
> fundamentally, and that is located under /Developer/SDKs/
> MacOSX10.5.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/
> Headers/glut.h
>
> on my machine, but I have also a copy of the GLUT headers in /usr/X11/
> include/GL:
>
>  >  ls /usr/X11/include/GL/
> GLwDrawA.h      ggimesa.h       glut.h          glxproto.h      
> uglglutshapes.h
> GLwDrawAP.h     gl.h            glutf90.h       glxtokens.h     uglmesa.h
> GLwMDrawA.h     gl_mangle.h     glx.h           internal        vms_x_fix.h
> GLwMDrawAP.h    glext.h         glx_mangle.h    mesa_wgl.h      wmesa.h
> amesa.h         glfbdev.h       glxext.h        mglmesa.h       xmesa.h
> dmesa.h         glu.h           glxint.h        osmesa.h        xmesa_x.h
> fxmesa.h        glu_mangle.h    glxmd.h         svgamesa.h      xmesa_xf86.h
>
> Not sure how they ended up there though  :) - anyone?
>
>        Cheers,
>                Jarle.
>
>
> On 19 Nov 2009, at 15:14, Chris Marshall wrote:
>
>> You don't give any information about your system
>> like the output of perl -V, the OS.. but it appears
>> that you don't have Apple GLUT on your system.
>>
>> I'll let someone who has a Mac OS X system comment
>> further.
>>
>> FreeGLUT does not build on the Mac OS X right now
>> (or at least without a lot of work).  PDL-2.4.5 has
>> only been tested with the Apple GLUT on Mac OS X.
>>
>> Good luck,
>> Chris
>>
>> Antonio Hales [[email protected]] writes:
>>>
>>> I am trying to install PDL 2.4.5 on my mac intel. I tried installing
>>> OpenGL-0.61 first, but it complains about:
>>>
>>> perl Makefile.PL
>>> glversion.c:13:21: error: GL/glut.h: No such file or directory
>>> glversion.c: In function 'main':
>>> glversion.c:25: error: 'GLuint' undeclared (first use in this
>>> function)
>>> glversion.c:25: error: (Each undeclared identifier is reported only
>>> once
>>> glversion.c:25: error: for each function it appears in.)
>>> glversion.c:25: error: syntax error before 'idWindow'
>>> glversion.c:30: error: 'GLUT_RGBA' undeclared (first use in this
>>> function)
>>> glversion.c:31: error: 'idWindow' undeclared (first use in this
>>> function)
>>> glversion.c:35: error: 'GL_VERSION' undeclared (first use in this
>>> function)
>>> glversion.c:36: error: 'GL_VENDOR' undeclared (first use in this
>>> function)
>>> glversion.c:37: error: 'GL_RENDERER' undeclared (first use in this
>>> function)
>>> glversion.c:38: error: 'GL_EXTENSIONS' undeclared (first use in this
>>> function)
>>> make: *** [glversion.o] Error 1
>> ~
>> _______________________________________________
>> 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
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Mt Horeb, Wisconsin, United States

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

Reply via email to