We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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