Menu ▾ ▴

gk2/gtk3 error message

2026-11-03
2026-11-03
  • John Duchek

    John Duchek - 2026-11-03

    Some of my programs that were running successfully no longer do so. They compile ok, but give this error when they run.
    They give an error
    (2DDraw:72162): Gtk-ERROR **: 07:49:46.494: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

    Aborting due to runtime error 14 ("abnormal termination" signal) in 2DDraw.bas::()

    I believe I am set up for gtk3, but changed back to gtk2 and still got the error. This was with the latest download of window9 dated on my computer as 2026-0701 which is likely when I downloaded it.

    I would appreciate any help getting these running.

     
  • stabud

    stabud - 2026-11-03

    Hi John!
    This happens when a library is compiled for GTK2, and you try to use it for GTK3 and vice versa.
    Everything must match:
    1) For GTK2, the line '#define USEGTK3 must be commented out in the window9.bi file. The library should be compiled this way and used this way too. Of course, the GTK2 library version DEV (in UBUNTU it is something like libgtk2.0-dev) must be installed
    2) For GTK3, the line #define USEGTK3 should NOT be commented out in the window9.bi file. The library should be compiled this way and used this way too. Of course, the GTK3 library version DEV (in UBUNTU it is something like libgtk-3-dev) must be installed
    If you still feel like you did everything right. Check again, perhaps your (incorrectly configured) window9.bi file is in the headers and is confusing all the cards for you.

     

Log in to post a comment.