There was an answer to this question in an another branch of the forum.
#ifdef _WIN32 hDisplay = EGL_DEFAULT_DISPLAY; // GetDC(NULL);#else hDisplay = XOpenDisplay(NULL); if (!hDisplay) { printf("Could not open display\n"); exit(-1); }#endif
Hi Lorenzo,I get the same problem; my environment is a 32-bit Windows XP laptop with an Nvidia Quadro FX 360M graphics card, using driver version 6.14.11.7575. I'm building using Eclipse and a Cygwin-gcc toolchain. The change that you suggested results in a 'Could not open display' message from line 217.Ta,Mark