Hi,

I installed xCode and Command Line Tools
I type .configure and when I type make I obtain:

Qt Code:
  1. opengl/qopenglframebufferobject.cpp:347: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  2. opengl/qopenglframebufferobject.cpp:350: error: ‘GL_FRAMEBUFFER_COMPLETE’ was not declared in this scope
  3. opengl/qopenglframebufferobject.cpp:352: error: ‘GL_FRAMEBUFFER_UNSUPPORTED’ was not declared in this scope
  4. opengl/qopenglframebufferobject.cpp:355: error: ‘GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT’ was not declared in this scope
  5. opengl/qopenglframebufferobject.cpp:358: error: ‘GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT’ was not declared in this scope
  6. opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObjectPrivate::init(QOpenGLFramebufferObject*, const QSize&, QOpenGLFramebufferObject::Attachment, GLenum, GLenum, GLint, bool)’:
  7. opengl/qopenglframebufferobject.cpp:436: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  8. opengl/qopenglframebufferobject.cpp:466: error: ‘GL_COLOR_ATTACHMENT0’ was not declared in this scope
  9. opengl/qopenglframebufferobject.cpp:482: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  10. opengl/qopenglframebufferobject.cpp:492: error: ‘GL_COLOR_ATTACHMENT0’ was not declared in this scope
  11. opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObjectPrivate::initAttachments(QOpenGLContext*, QOpenGLFramebufferObject::Attachment)’:
  12. opengl/qopenglframebufferobject.cpp:532: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  13. opengl/qopenglframebufferobject.cpp:532: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
  14. opengl/qopenglframebufferobject.cpp:532: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  15. opengl/qopenglframebufferobject.cpp:536: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  16. opengl/qopenglframebufferobject.cpp:536: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
  17. opengl/qopenglframebufferobject.cpp:536: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  18. opengl/qopenglframebufferobject.cpp:556: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  19. opengl/qopenglframebufferobject.cpp:566: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  20. opengl/qopenglframebufferobject.cpp:566: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
  21. opengl/qopenglframebufferobject.cpp:568: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
  22. opengl/qopenglframebufferobject.cpp:582: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  23. opengl/qopenglframebufferobject.cpp:610: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  24. opengl/qopenglframebufferobject.cpp:610: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
  25. opengl/qopenglframebufferobject.cpp:621: error: ‘GL_RENDERBUFFER’ was not declared in this scope
  26. opengl/qopenglframebufferobject.cpp:640: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  27. opengl/qopenglframebufferobject.cpp:640: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
  28. opengl/qopenglframebufferobject.cpp: In member function ‘bool QOpenGLFramebufferObject::bind()’:
  29. opengl/qopenglframebufferobject.cpp:925: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  30. opengl/qopenglframebufferobject.cpp: In member function ‘bool QOpenGLFramebufferObject::release()’:
  31. opengl/qopenglframebufferobject.cpp:958: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  32. opengl/qopenglframebufferobject.cpp: In function ‘QImage qt_gl_read_framebuffer(const QSize&, bool, bool)’:
  33. opengl/qopenglframebufferobject.cpp:1025: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
  34. opengl/qopenglframebufferobject.cpp: In static member function ‘static bool QOpenGLFramebufferObject::bindDefault()’:
  35. opengl/qopenglframebufferobject.cpp:1082: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  36. opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObject::setAttachment(QOpenGLFramebufferObject::Attachment)’:
  37. opengl/qopenglframebufferobject.cpp:1149: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  38. opengl/qopenglframebufferobject.cpp: In static member function ‘static void QOpenGLFramebufferObject::blitFramebuffer(QOpenGLFramebufferObject*, const QRect&, QOpenGLFramebufferObject*, const QRect&, GLbitfield, GLenum)’:
  39. opengl/qopenglframebufferobject.cpp:1271: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
  40. make[4]: *** [.obj/debug-shared/qopenglframebufferobject.o] Error 1
  41. make[3]: *** [debug-all] Error 2
  42. make[2]: *** [sub-gui-make_first] Error 2
  43. make[1]: *** [sub-src-make_first] Error 2
  44. make: *** [module-qtbase-make_first] Error 2
To copy to clipboard, switch view to plain text mode 

What's wrong?