GTK3 Mac issue

When I try to run the same GTK program from Wikipedia, the X11 program opens but I get no "Hello World" window.
This is the error I get:
(test2:53777): Gdk-WARNING **: The program 'test2' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
Details: serial 167 error_code 151 request_code 144 minor_code 26)
(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.)

Does anyone know the cause of the issue? I could just use Linux but there is no guide on how to compile GTK apps for Mac on Linux.
Any advice would be appreciated.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]