Using nmake to build a static version qt
-
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? -
welcome to devnet
Did you run nmake from a msvc command prompt?
msvc sets the environment differently for its command prompt. If you run nmake from a plain command with adapting the environment you get errors.
Did you check, if this include file is available?
-
Hi,
Can you check if you have gl2.h in your Qt sources ?