PDA

View Full Version : Installing Qt from source on Mac



crigint
18th July 2013, 15:22
Hi,

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



opengl/qopenglframebufferobject.cpp:347: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:350: error: ‘GL_FRAMEBUFFER_COMPLETE’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:352: error: ‘GL_FRAMEBUFFER_UNSUPPORTED’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:355: error: ‘GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTâ€℠¢ was not declared in this scope
opengl/qopenglframebufferobject.cpp:358: error: ‘GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMEN T’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObjectPrivate::init(QOpenGLFrame bufferObject*, const QSize&, QOpenGLFramebufferObject::Attachment, GLenum, GLenum, GLint, bool)’:
opengl/qopenglframebufferobject.cpp:436: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:466: error: ‘GL_COLOR_ATTACHMENT0’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:482: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:492: error: ‘GL_COLOR_ATTACHMENT0’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObjectPrivate::initAttachments(Q OpenGLContext*, QOpenGLFramebufferObject::Attachment)’:
opengl/qopenglframebufferobject.cpp:532: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:532: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:532: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:536: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:536: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:536: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:556: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:566: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:566: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:568: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:582: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:610: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:610: error: ‘GL_DEPTH_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:621: error: ‘GL_RENDERBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:640: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp:640: error: ‘GL_STENCIL_ATTACHMENT’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In member function ‘bool QOpenGLFramebufferObject::bind()’:
opengl/qopenglframebufferobject.cpp:925: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In member function ‘bool QOpenGLFramebufferObject::release()’:
opengl/qopenglframebufferobject.cpp:958: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In function ‘QImage qt_gl_read_framebuffer(const QSize&, bool, bool)’:
opengl/qopenglframebufferobject.cpp:1025: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘while’ statement
opengl/qopenglframebufferobject.cpp: In static member function ‘static bool QOpenGLFramebufferObject::bindDefault()’:
opengl/qopenglframebufferobject.cpp:1082: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In member function ‘void QOpenGLFramebufferObject::setAttachment(QOpenGLFra mebufferObject::Attachment)’:
opengl/qopenglframebufferobject.cpp:1149: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
opengl/qopenglframebufferobject.cpp: In static member function ‘static void QOpenGLFramebufferObject::blitFramebuffer(QOpenGLF ramebufferObject*, const QRect&, QOpenGLFramebufferObject*, const QRect&, GLbitfield, GLenum)’:
opengl/qopenglframebufferobject.cpp:1271: error: ‘GL_FRAMEBUFFER’ was not declared in this scope
make[4]: *** [.obj/debug-shared/qopenglframebufferobject.o] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-gui-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtbase-make_first] Error 2


What's wrong?

saman_artorious
3rd August 2013, 10:54
:D are you sure the gl library is already installed?