Results 1 to 2 of 2

Thread: Installing Qt from source on Mac

  1. #1
    Join Date
    Jul 2013
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Installing Qt from source on Mac

    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?

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Installing Qt from source on Mac

    are you sure the gl library is already installed?

Similar Threads

  1. Error while installing Qt from source (4.7.4)
    By sattu in forum Installation and Deployment
    Replies: 3
    Last Post: 25th February 2013, 07:20
  2. problem in installing qt4.4.3 source
    By wagmare in forum Qt-based Software
    Replies: 0
    Last Post: 18th February 2009, 06:48
  3. Installing QT open source
    By DPU_KOP in forum Newbie
    Replies: 2
    Last Post: 17th May 2007, 20:55
  4. Installing Qt 4.1 (open source) on Windows XP
    By katrina in forum Installation and Deployment
    Replies: 8
    Last Post: 19th February 2006, 12:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.