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)
Linux Mint is based on Ubuntu 20.04. The sample code builds, but then exits with: