Post Go back to editing

compilation v4l-utils

Category: Software

Hello,

 

I need your help: When i try to compile v4l-utils it fails this is the output : 

make[3]: Entering directory '/home/sebmenet/Sebastien_Menet/v4l-utils/utils/qv4l2'
  CXX      qv4l2-capture-win-gl.o
capture-win-gl.cpp: In member function ‘virtual void CaptureWinGLEngine::initializeGL()’:
capture-win-gl.cpp:275:15: error: ‘GL_FLAT’ was not declared in this scope
  glShadeModel(GL_FLAT);
               ^~~~~~~
capture-win-gl.cpp:275:15: note: suggested alternative: ‘GL_FLOAT’
  glShadeModel(GL_FLAT);
               ^~~~~~~
               GL_FLOAT
capture-win-gl.cpp:275:2: error: ‘glShadeModel’ was not declared in this scope
  glShadeModel(GL_FLAT);