WindowedScreen.pb example

Raspberry PI specific forum
User avatar
idle
Always Here
Always Here
Posts: 5093
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

WindowedScreen.pb example

Post 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.)
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: WindowedScreen.pb example

Post by User_Russian »

User avatar
idle
Always Here
Always Here
Posts: 5093
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: WindowedScreen.pb example

Post by idle »

doesn't work with qt subsystem either.
User avatar
mk-soft
Always Here
Always Here
Posts: 5395
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: WindowedScreen.pb example

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
idle
Always Here
Always Here
Posts: 5093
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: WindowedScreen.pb example

Post by idle »

@mk-soft. Thanks, I will take another look to try and work out what the missing lib is
User avatar
CDXbow
User
User
Posts: 29
Joined: Mon Aug 12, 2019 5:32 am
Location: Oz

Re: WindowedScreen.pb example

Post 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.
User avatar
idle
Always Here
Always Here
Posts: 5093
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: WindowedScreen.pb example

Post 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
User avatar
mk-soft
Always Here
Always Here
Posts: 5395
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: WindowedScreen.pb example

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
idle
Always Here
Always Here
Posts: 5093
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: WindowedScreen.pb example

Post by idle »

Still haven't found what's missing
Joris
Addict
Addict
Posts: 885
Joined: Fri Oct 16, 2009 10:12 am
Location: BE

Re: WindowedScreen.pb example

Post 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.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Post Reply