2014년 2월 11일 화요일

You probably forgot to install the GTK+ OpenGL Extensions and their headers
sudo apt-get install libgtkglext1 libgtkglext1-dev
share|improve this answer
 
This seems to be the answer but it was first suggested by @AndreyKamaev in his comment :) –  Rui Marques Jun 17 '12 at 12:19
 
Well, as @RuiMarques said, this was already answered by Andrey in a comment, but I will take this answer as the correct one because I cannot accept a comment, and I want to close this question. –  Dan Jun 17 '12 at 21:48 
 
Not sure how this is the right answer. Installing this makes CMake find GtkGlExt (the line right above OpenGL), butOpenGL support is still NO. –  Subhamoy Sengupta Oct 25 '13 at 23:12
add comment

I couldn't get the WITH_OPENGL flag to show up in my openCV 2.4.3 CMake options (I am running on a Mac - Snow Leopard 10.6.8)... I finally got it working by just opening up CMakeLists.txt and editing line 128 to:
OCV_OPTION(WITH_OPENGL "Include OpenGL support" ON)
Then run your CMake configurator/generator and it should build.
share|improve this answer

댓글 없음:

댓글 쓰기