Gk/GL.h not found
-
Hi! You also need to install the Windows SDK from Microsoft.
-
Hi! You also need to install the Windows SDK from Microsoft.
-
@Pablo-J.-Rogina Thanks for the info I will check it
-
@Pavanj You need the Windows SDK for Windows 7.
-
@Pablo-J.-Rogina Thanks for the hint, but that topic on SO is about the GLUT library. The OP needs the OpenGL header files.
-
@Pavanj You need the Windows SDK for Windows 7.
@Wieland I am able to install windows sdk for win7,but while compiling the qt 5.9 example I got the below error
":-1: error: Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat":
'chcp' is not recognized as an internal or external command,
operable program or batch file." -
On the windows command prompt, check if
chcpcan be located:C:\Users\YourName> where chcpIf it can't be located, your
PATHenvironment variable is broken. -
On the windows command prompt, check if
chcpcan be located:C:\Users\YourName> where chcpIf it can't be located, your
PATHenvironment variable is broken.@Wieland After running the command I got the below message
"C:\Windows\System32\chcp.com" and I added the "%SystemRoot%\system32" to environment variable
'chcp' is not recognized as an internal or external command issue fixed but still getting below error message""C:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtGui\qopengl.h:139: error: C1083: Cannot open include file: 'GL/gl.h': No such file or directory
Is there any other things to be done to get rid of the problem?
-
Hi aha_1980,
Thanks for the replay
I am able to find the gl/gl.h in below foldersC:\Program Files\Microsoft SDKs\Windows\v7.1\Include\gl
C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\gl
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\glAttached image path for refernce

Thanks