I want to build a static version of qt 5.1.1 using microsoft visual studio. I executed configure -static -release -platform win32-msvc
and then I executed nmake but these errors occured:
c:\qt\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(82) : fatal error C108
3: Cannot open include file: 'GLES2/gl2.h': No such file or directory
qopenglcontext.cpp
c:\qt\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(82) : fatal error C108
3: Cannot open include file: 'GLES2/gl2.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
and at the end there is no qmake.exe file in directory. what is the problem?