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
Thanks a lot, Wasim.
I am going to try this on Mon. (not at work now) and let you know.
Regards,
Sam