- January 5, 2017 at 9:43 am #55112
I am using Dell XPS 15 9550 with GeForce GTX 960M (driver version 376.33) and Intel HD Graphics 530 (driver version 4542), Windows 10 Enterprise 1607.
The prebuilt examples (gles) give me these errors:
OpenGL ES Error
Can’t find the name of Intel ICD OpenGL driver
OGLESHelloAPI.exe – Application Error
The application was unable to start correctly (0xc0000142). Click OK to close the application.
Meanwhile my own code which uses your egl and gles library works fine. I haven’t debugged your examples further. Vulkan versions work.
Edit: In nvidia control panel I have selected use nvidia for all apps. If I change that to ingrated graphics instead, the same errors show up.January 5, 2017 at 3:28 pm #55114
If possible could you please post the log file which is produced after you have run the application.
Edit: Did you place the required .dlls into the executable folder?
ShaunJanuary 5, 2017 at 3:36 pm #55116
There is no logfile in the directory of the executable at least.
I wasn’t aware I need to copy DLL files. After I copy libEGL.dll and libGLESv2.dll to the directory where the executable is, I do get 01_HelloAPI/OGLESHelloAPI working. So I think perhaps the examples could give more useful error message in case these required DLL files are not found.January 5, 2017 at 3:42 pm #55117
Glad to hear that solved the issue, yes I agree the message was a little confusing however the log file which is usually produced when the application is executed usually gives a much more detailed report.
ShaunJanuary 12, 2017 at 1:24 pm #55142
Turns out this laptop has, in C:\Windows\SysWOW64, these files:
My own code loads libEGL.dll and libGLESv2.dll dynamically (LoadLibrary(), GetProcAddress()). And typically I have your (IMG) dlls in the working directory, and my executables find those fine. However, on this laptop, my LoadLibrary() actually loads the ones from SysWOW64 directory instead. I queried a few strings from EGL, here are the results:
- Client APIs : OpenGL OpenGL_ES OpenGL_ES2
- Extensions : EGL_KHR_create_context
- Vendor : Intel
- Version : 1.4
I think Intel has started including EGL and GLES 1 and 2 with their drivers..