Hello. I have an image processing GUI written using wxWidgets compiled with GTK-3. I also have a Pascal shared object library that uses TBGRABitmap (compiled with fpc). TBGRABitmap has a GTK dependency and if I compile the Pascal library with GTK-2 I crash with this error:
Gtk-ERROR **: 15:35:28.293: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/breakpoint trap (core dumped)
The solution is simply to compile the Pascal library with GTK-3 ("-dLCLgtk3"). However, GTK-3 for Lazarus in general is kinda unfinished. Is GTK-3 pretty robust / mature in the TBGRABitmap libraries? So far I have had no problems calling TBGRABitmap functionality from the wxWidgets GUI. An equivalent GUI written in Lazarus would have to be GTK-2, and so would my library that uses TBGRABitmap.