Ask Your Question

tango's profile - activity

2014-02-13 12:55:35 -0600 answered a question OpenCV Error: OpenGL API call (Can't load OpenGL extension ) in un known function, file ..\..\..\opencv1\modules\core\src\gl_core_3_1.cpp, line 141

I have properly built opencv with opengl support still having same problem...

2014-02-12 08:27:24 -0600 commented question OpenCV Error: OpenGL API call (Can't load OpenGL extension ) in un known function, file ..\..\..\opencv1\modules\core\src\gl_core_3_1.cpp, line 141

i did execute this command "cerr << getBuildInformation() <<endl" and I got the following output GUI: QT: NO Win32 UI: YES OpenGL support: YES (glu32 opengl32)

So now what to do?

2014-02-09 07:46:15 -0600 asked a question OpenCV Error: OpenGL API call (Can't load OpenGL extension ) in un known function, file ..\..\..\opencv1\modules\core\src\gl_core_3_1.cpp, line 141

#include < opencv\cv.h >

#include < opencv\highgui.h >

using namespace cv;

int main( int argc, char* argv ) { IplImage img = cvLoadImage("tango.jpg" ); cvNamedWindow( "Example1", CV_WINDOW_OPENGL ); cvShowImage( "Example1", img ); cvWaitKey(5000); cvReleaseImage( &img ); cvDestroyWindow( "Example1" ); }

I m trying to run the namedWindow with OPENGL suppport . I first build the opencv 2.4.6 version with qtbackends using cmake. Then i tried to run the above program i am getting the OpenCV Error: OpenGL API call (Can't load OpenGL extension ) in un known function, file ......\opencv1\modules\core\src\gl_core_3_1.cpp, line 141 error.. Please tell me whats going wrong in my code.