Page 1 of 1

WindowedScreen.pb example

Posted: Tue Dec 21, 2021 1:07 am
by idle
WindowedScreen.pb example results with
(purebasic_compilation5.out:9595): Gdk-ERROR **: 13:03:33.202: The program 'purebasic_compilation1.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContextTag'.
(Details: serial 382 error_code 162 request_code 151 (GLX) minor_code 16)
(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 GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Re: WindowedScreen.pb example

Posted: Tue Dec 21, 2021 10:02 am
by User_Russian

Re: WindowedScreen.pb example

Posted: Tue Dec 21, 2021 11:18 pm
by idle
doesn't work with qt subsystem either.

Re: WindowedScreen.pb example

Posted: Wed Dec 22, 2021 4:57 am
by mk-soft
I don't know,

but for me the example runs. Is perhaps still other libraries that I have perhaps still post-installed.

Re: WindowedScreen.pb example

Posted: Wed Dec 22, 2021 5:20 am
by idle
@mk-soft. Thanks, I will take another look to try and work out what the missing lib is

Re: WindowedScreen.pb example

Posted: Wed Dec 22, 2021 5:31 am
by CDXbow
Works for me on a Pi 4.
I think mk-soft maybe right that it's related to a problem with the libraries related to OpenGL/Ogre/SDL.

Re: WindowedScreen.pb example

Posted: Wed Dec 22, 2021 6:10 am
by idle
ogre works ok, openscreen is ok too, so it's likely a just a gtk /sdl related plugin or something like that.
thanks

Re: WindowedScreen.pb example

Posted: Wed Dec 22, 2021 1:26 pm
by mk-soft
Have you installed another package?
Or was my Linux install guide (without games) enough?
I have already installed something because of a project from github.

Re: WindowedScreen.pb example

Posted: Sun Dec 26, 2021 9:43 pm
by idle
Still haven't found what's missing

Re: WindowedScreen.pb example

Posted: Mon Dec 27, 2021 9:30 am
by Joris
I get this :
[09:25:39] Waiting for executable to start...
[09:25:39] Executable type: Linux (32bit, Unicode)
[09:25:39] Executable started.
[09:25:39] [WARNING] WindowedScreen.pb (Line: 1)
[09:25:39] [WARNING] GLib-GIO (DEBUG): _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[09:25:42] The debugged executable quit unexpectedly.