Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV 3.0 namedWindow-OPENGL-Problems

I recently tried to compile the "opengl.cpp"-sample with my MSVC11 2012 Express 32-Bit. Due to the MSVC saying GL/gl.h and glu.h producing over 100 failures (dont know why) i included freeglut and glew instead (thought it might work instead of just gl.h and glu.h). It compiles without failures and produces a grey window, but then crashes and says "namedwindow not compiled with enabled OpenGL" despite the fact that ive done this in cmake. The exact same opengl.exe-version produced by compiling of OpenCV.sln works just fine, but why?

Thanks,

Steffen