I'm running PB 5.62 (x86) on Debian 9 and have all sorts of issues running example code from this forum Eg. Example code that is a work around to fix the EditorGadget() NOT scrolling to the bottom line. viewtopic.php?f=15&t=27913&hilit=subsystem+gtk3
The first code example compiles but doesn't go to the last line as expected when the subsystem compiler option is empty. While it gives me an error "Gtk (ERROR): GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported" when forcing gtk2 as the subsystem
The second code example works perfect with nothing in the subsystem compiler option but gives me an error "Gtk (ERROR): GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported" when I force gtk2 as the subsystem - And I understand this as I can see there are GTK3 statements used in that example.
So the above logic suggests that without anything in the subsystem compiler option, then I'm using GTK3...
If that's true then I'm confused by the built in help file which suggests OpenGL is the default...
Quoting the PB help file...
And then there's this post that gives the indication that gtk3 could/should be specified...For example, on Windows there is the 'OpenGL' subsystem available, which will use OpenGL functions to render sprites, instead of DirectX (which is the default subsystem). It can be useful to use OpenGL instead of DirectX when writing a crossplatform game, as OS X and Linux use OpenGL as default. It also allows to use raw OpenGL commands directly on screen.
But I get an error message of "The following subsystem cannot be found: GTK3" or "The following subsystem cannot be found: gtk3"Fred wrote:you need to specify "gtk3" in the subsystem field of the compiler options.
This post indicates either gtk2 or gtk3 "may" exist depending on which PB version I'm running..
But really it is only comparing what I write in the subsystem compiler option with a string of "gtk2", "gtk3" or "any other statement"
Examination of my PB subsystems folder shows that I have qt and gtk2
What I'm asking is:
1) What is the default subsystem for Linux and PB =>5.62 if I don't put anything in the compiler options box?
2) How can I use/force GTK3 examples to work?
3) Can GTK2 and GTK3 statement be used together?
Thanks for taking the time to view my post and yes I have tried to search for the correct answer on the forum already.
"Subsystem" 924 matches. "Linux subsystem" 247 matches. "Default Linux subsystem" 78 matches.