gkv311 / occt-samples-gtk

Open CASCADE Technology sample - 3D Viewer within GTK window
Other
13 stars 5 forks source link

Sample can't start on Linux Mint 20.3 #4

Open aerkiaga opened 2 years ago

aerkiaga commented 2 years ago

Linux Mint is based on Ubuntu 20.04. The sample code builds, but then exits with:

(occt-gtkmm-sample:22128): Gdk-ERROR **: 10:56:00.714: The program 'occt-gtkmm-sample' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 247 error_code 3 request_code 3 (core protocol) minor_code 0)
  (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)
aerkiaga commented 2 years ago

GTK+-3.0.

sdifru commented 3 months ago

@aerkiaga Have you been able to solve this error? I've got the same error.