RE: Compiling on OSX LION

From: Fine, Valeri <fine_at_bnl.gov>
Date: Sun, 31 Jul 2011 11:26:46 -0400


Can you check whether the http://www.opengl.org/sdk/libs/GLEW/

is present?  

Best regards , Valeri Fine


Brookhaven National Laboratory

Upton, NY 11973

Phone +1-631-344-7806  

From: Vito Palladino [mailto:Vito.Palladino_at_cern.ch] Sent: Sunday, July 31, 2011 11:17 AM
To: Fine, Valeri; roottalk_at_root.cern.ch
Subject: RE: [ROOT] Compiling on OSX LION  

I'm new on a mac machine. However I installed Xcode and it was supposed to contain OpenGL...  

Thank you again

   Vito Palladino  


From: Fine, Valeri [fine_at_bnl.gov]
Sent: 31 July 2011 16:40
To: Vito Palladino; roottalk_at_root.cern.ch Subject: RE: [ROOT] Compiling on OSX LION

include/TGLIncludes.h:23:21: error: GL/glew.h: No such file or directory  

Is there OpenGL properly installed?  

Best regards , Valeri Fine


Brookhaven National Laboratory

Upton, NY 11973

Phone +1-631-344-7806  

From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch] On Behalf Of Vito Palladino
Sent: Sunday, July 31, 2011 9:42 AM
To: roottalk_at_root.cern.ch
Subject: [ROOT] Compiling on OSX LION  

Dear Rooters,  

I'm trying to compile root on OSX LION.

I run ./configure --prefix=/usr/bin and than make but the following errors are returned:  

In file included from
/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:25:

include/TGLIncludes.h:23:21: error: GL/glew.h: No such file or directory

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx: In member
function 'virtual void TF2GL::DirectDraw(TGLRnrCtx&) const':

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
'GL_ENABLE_BIT' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
'GL_LIGHTING_BIT' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:96: error:
'glPushAttrib' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:98: error:
'GL_NORMALIZE' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:98: error:
'glEnable' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:99: error:
'GL_COLOR_MATERIAL' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:99: error:
'glDisable' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:104: error:
'GL_CULL_FACE' was not declared in this scope

/Users/vitopalladino/Downloads/root/graf3d/gl/src/TF2GL.cxx:105: error:
'glPopAttrib' was not declared in this scope

make: *** [graf3d/gl/src/TF2GL.o] Error 1    

Do you have any ideas?  

Thank you

    Vito Palladino Received on Sun Jul 31 2011 - 17:26:56 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 31 2011 - 23:50:01 CEST