OpenCV 3.0 namedWindow-OPENGL-Problems

asked 2014-10-20 12:23:17 -0600

Echo88 gravatar image

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

edit retag flag offensive close merge delete

Comments

Without all your compiler outputs of each steps, there is no way of comparing and investigating exactly what you are doing :)

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-21 06:31:20 -0600 )edit