Compiling on OSX LION

From: Vito Palladino <Vito.Palladino_at_cern.ch>
Date: Sun, 31 Jul 2011 13:41:59 +0000


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 - 15:42:05 CEST

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