Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Cannot compile QtExamples Such as "Grabber Example" in OSX Lion 10.8.2

$
0
0
I installed XCode on my MAC and Qt creator 2.6 based on QT 5. I Open the example project “Grabber Example”, and when I compiled it I got 2337 errors/issues most of the errors are related to opengl libraries errors such as */Users/sina/Qt5.0.0/5.0.0/clang_64/include/QtGui/qopengl.h:88: error: OpenGL/gl.h: No such file or directory /Users/sina/Qt5.0.0/5.0.0/clang_64/include/QtGui/qopenglframebufferobject.h:70: error: ‘GL_TEXTURE_2D’ was not declared in this scope /Users/sina/Qt5.0.0/5.0.0/clang_64/include/QtGui/qopenglshaderprogram.h:218: error: ISO C++ forbids declaration of ‘GLfloat’ with no type* In fact I do not know how I can add OpenGL libraries and include files or libraries (if one can attach few screenshots of the configuration page it would be much better) to make it compile and execute in my MAC machine. Thanks

Viewing all articles
Browse latest Browse all 2113

Trending Articles