OpenCV error by using OpenGL
Hi, I am trying to copy a Mat in a ogl::Texture2D.
void CVMat_ImageWidget::setImage(cv::Mat img)
{
cv::ogl::Texture2D texture(img);
//...
}
But I always get the error "OpenCV Error: OpenGL API call (Can't load OpenGL extension [glBindBuffer]) in IntGetProcAddress, file C:\LIBS\OpenCV_2_4_6\src\opencv\modules\core\src\gl_core_3_1.cpp, line 141". I built OpenCV (2.4.6) with OpenGL so this shouldn´t be the problem. What is the problem ?