Ask Your Question

Revision history [back]

OpenCV Error: OpenGL API call cv::ogl::Arrays::bind

I compiled OpenCV 2.4.8 with both cuda and opengl support. Tested cuda with provided gpu optical flow sample and it worked well. OpenGL test failed using the provided gpu-example-opengl sample. The error msg is as following:

D:\Dev\SDKs\opencv-2.4.8-src\build_cuda+ogl\bin\Debug>gpu-example-opengl.exe roa d.png OpenCV Error: OpenGL API call (An unacceptable value is specified for an enumera ted argument) in cv::ogl::Arrays::bind, file D:\Dev\SDKs\opencv-2.4.8-src\source s\modules\core\src\opengl_interop.cpp, line 1353

Any idea how to solve it? Thanks!

OpenCV Error: OpenGL API call cv::ogl::Arrays::bind

I compiled OpenCV 2.4.8 with both cuda and opengl support. Tested cuda with provided gpu optical flow sample and it worked well. OpenGL test failed using the provided gpu-example-opengl sample. The error msg is as following:

D:\Dev\SDKs\opencv-2.4.8-src\build_cuda+ogl\bin\Debug>gpu-example-opengl.exe roa d.png road.png

OpenCV Error: OpenGL API call (An unacceptable value is specified for an enumera ted argument) in cv::ogl::Arrays::bind, file D:\Dev\SDKs\opencv-2.4.8-src\source s\modules\core\src\opengl_interop.cpp, line 1353

Any idea how to solve it? Thanks!

OpenCV Error: OpenGL API call cv::ogl::Arrays::bind

I compiled OpenCV 2.4.8 with both cuda and opengl support. support in Windows 8.1. Tested cuda with provided gpu optical flow sample and it worked well. OpenGL test failed using the provided gpu-example-opengl sample. The error msg is as following:

D:\Dev\SDKs\opencv-2.4.8-src\build_cuda+ogl\bin\Debug>gpu-example-opengl.exe road.png

OpenCV Error: OpenGL API call (An unacceptable value is specified for an enumera ted argument) in cv::ogl::Arrays::bind, file D:\Dev\SDKs\opencv-2.4.8-src\source s\modules\core\src\opengl_interop.cpp, line 1353

Any idea how to solve it? Thanks!

OpenCV Error: OpenGL API call cv::ogl::Arrays::bind

I compiled OpenCV 2.4.8 with both cuda and opengl support using VS 2012 in Windows 8.1. Tested cuda with provided gpu optical flow sample and it worked well. OpenGL test failed using the provided gpu-example-opengl sample. The error msg is as following:

D:\Dev\SDKs\opencv-2.4.8-src\build_cuda+ogl\bin\Debug>gpu-example-opengl.exe road.png

OpenCV Error: OpenGL API call (An unacceptable value is specified for an enumera ted argument) in cv::ogl::Arrays::bind, file D:\Dev\SDKs\opencv-2.4.8-src\source s\modules\core\src\opengl_interop.cpp, line 1353

Any idea how to solve it? Thanks!

OpenCV Error: OpenGL API call cv::ogl::Arrays::bind

I compiled OpenCV 2.4.8 with both cuda and opengl support using VS 2012 in Windows 8.1. Tested cuda with provided gpu optical flow sample and it worked well. OpenGL test failed using the provided gpu-example-opengl sample. The error msg is as following:

D:\Dev\SDKs\opencv-2.4.8-src\build_cuda+ogl\bin\Debug>gpu-example-opengl.exe road.png

OpenCV Error: OpenGL API call (An unacceptable value is specified for an enumera ted argument) in cv::ogl::Arrays::bind, file D:\Dev\SDKs\opencv-2.4.8-src\source s\modules\core\src\opengl_interop.cpp, line 1353

Update: after installing GLUT on my new laptop, running gpu-example-opengl.exe in release mode worked correctly. The error still existed in debug mode with the same error message, even after I recompiled OpenCV.

Any idea how to solve it? Thanks!