Dear all,
I got a message from a user of an application developed with lazarus and using the TOpenGLContext.
The user is running my app using cygwin-x from Windows 7 on a CentOS 6.7 computer, the user uses XWin Server for displaying GUI remotely.
The application runs fine locally on the remote CentOS computer but using cygwin-x the application does not run with the following messages:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Gdk-ERROR **: The program 'myappguiname' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 1656 error_code 2 request_code 149 minor_code 24)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...
Aborted (core dumped)
Any hint on how to solve the problem?
Thank you,
Andrea