I'm trying to create a linux binary for my game (https://ricardo-sdl.itch.io/trial-dungeon). I installed Ubuntu 20.04 on a virtual machine using Hyper-V on windows 10. This is the PureBasic version used:
PureBasic 5.72 (Linux - x64)
The game compiles fine, but when I try to run it I get the following error message:
Code: Select all
(purebasic.out:2303): Gdk-ERROR **: 12:04:23.735: The program 'purebasic.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContextTag'.
(Details: serial 334 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.)
Trace/breakpoint trap (core dumped)
Thank you all!