PDA

View Full Version : QGLWidget and VBO



kaszewczyk
4th May 2010, 09:13
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

/usr/include/GL/glew.h:84: error: #error gl.h included before glew.h
/usr/include/GL/glew.h:87: error: #error glext.h included before glew.h
and i dont know how to deal with this problem, please help

Best Regards

axeljaeger
6th May 2010, 10:04
Did you actually read that error message? What happens if you change the order of includes as suggested by the error message?