answered 2013-04-03 01:06:24 -0600
OpenCV pre-built libraries were built without OpenGL support.
To enable OpenGL support you need to build OpenCV from sources (instructions) and turn on WITH_OPENGL flag in CMake configuration.
WITH_OPENGL