That is what ./configure says:
Checking for GL/glew.h ... /opt/local/include
Checking for libGLEW ... /opt/local/lib
Checking whether to build included GLEW ... no
Checking for pkg-config ... /opt/local/bin/pkg-config
Checking for libftgl ... no
Vito Palladino
I installed GLEW and seems to work bu an other error stops the compilation:
make[5]: *** No rule to make target `XrdOucFactoryBonjour.hh', needed by `../../obj/XrdOucBonjour.o'. Stop. make[4]: *** [Darwinall] Error 2 make[3]: *** [all] Error 2 make[2]: *** [XrdOuc] Error 2 make[1]: *** [all] Error 2
Can you check whether the http://www.opengl.org/sdk/libs/GLEW/ is present?
Best regards , Valeri Fine
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
Is there OpenGL properly installed?
Best regards , Valeri Fine
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 - 18:21:59 CEST
This archive was generated by hypermail 2.2.0 : Mon Aug 01 2011 - 11:50:01 CEST