This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Help please, trouble running OpenGL ES 3.0 Programming Guide code

Greetings:
I installed the Mali simulator successfully (cube spins). Then I tried to run the OpenGL ES 3.0 Programming Guide sample code following instructions there. The steps I took and the problem/error is below. Any help appreciated.
Thanks in advance,
Sam

Open cmake gui.
Set source code “opengles3-book-master” and build folder.
Configure -> error -> set “libEGL.lib” and “libGLESv2.lib”.
Configure + generate (now no error).
Open build folder and open ES3_Book.sln with MSVS.
Make Hello_Triangle startup project.
Build (all 21 succeed, 0 fail).
UP TO HERE IT’S FINE. PROBLEM NEXT STEP
Debug: a window (where the triangle should be drawn) pops up for a second and then dies. Error:

It fails on line 213:

if (!Init(esContext)) { return GL_FALSE}

At that moment esContext.egNativeDisplay is NULL