Results 1 to 2 of 2

Thread: QGLWidget and VBO

  1. #1
    Join Date
    Oct 2009
    Location
    Poland
    Posts
    34
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default QGLWidget and VBO

    Hello,
    I have problem with VBO and QGLWidget because when i added glew.h to my code with functions like glGenBuffuer() etc. i get error
    Qt Code:
    1. /usr/include/GL/glew.h:84: error: #error gl.h included before glew.h
    2. /usr/include/GL/glew.h:87: error: #error glext.h included before glew.h
    To copy to clipboard, switch view to plain text mode 
    and i dont know how to deal with this problem, please help

    Best Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QGLWidget and VBO

    Did you actually read that error message? What happens if you change the order of includes as suggested by the error message?
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. QGLWidget and labels
    By jsmith in forum Qt Programming
    Replies: 3
    Last Post: 5th November 2009, 08:50
  2. QGLWidget
    By manmohan in forum Newbie
    Replies: 2
    Last Post: 5th June 2009, 13:54
  3. Can not use QGLWidget.
    By Teuniz in forum Installation and Deployment
    Replies: 3
    Last Post: 25th September 2007, 01:27
  4. QGLWidget bug
    By Wizard in forum Qt Programming
    Replies: 11
    Last Post: 31st August 2007, 12:23
  5. qGLWidget
    By mickey in forum Newbie
    Replies: 8
    Last Post: 24th February 2006, 01:30

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.