ENIGMA Forums

Outsourcing saves money => Programming Help => Topic started by: hpg678 on September 25, 2017, 09:29:02 am

Title: GTK WIDGETS
Post by: hpg678 on September 25, 2017, 09:29:02 am
I've tried to use the GTK Widget but I keep getting an error "/GTK/gtk.h" is missing? How can this be resolved so I can use GUI buttons and dialogs in LINUX?
Title: Re: GTK WIDGETS
Post by: Goombert on September 25, 2017, 12:31:46 pm
You would need to use your package manager to get the gtk headers. But it's not really worth it at this point because I couldn't even get it to build. The whole GTK thing needs rewritten.
Title: Re: GTK WIDGETS
Post by: hpg678 on September 25, 2017, 12:34:51 pm
You would need to use your package manager to get the gtk headers. But it's not really worth it at this point because I couldn't even get it to build. The whole GTK thing needs rewritten.

oK! then so what about the GUI Extension? When I try to use it runs but nothing comes up the output screen.
Title: Re: GTK WIDGETS
Post by: Goombert on September 29, 2017, 02:12:23 am
Sorry about that, we're trying to fix up our Travis Continuous Integration 100% so that it will actually tell us when a pull request on GitHub breaks the engine:
https://github.com/enigma-dev/enigma-dev/pull/1077

I've actually made a number of changes to the GTK system that should improve how it finds the headers on Linux. You should probably take a look at that which is going to be merged tomorrow.

What platform are you trying to use gtk from? This should fix Linux, but for Windows, you'll want to download the GTK headers manually and then stick them in:
Code: [Select]
ENIGMA\enigma-dev\ENIGMAsystem\Additional\i686-w64-mingw32\include
Edit: Oh sorry, I didn't know you were asking about the GUI extension, TheExDeus wrote that and it may only work if you change the graphics system to OpenGL 3.3, I'm not exactly sure as I never tested it myself.
Title: Re: GTK WIDGETS
Post by: hpg678 on September 29, 2017, 06:13:47 am
Sorry about that, we're trying to fix up our Travis Continuous Integration 100% so that it will actually tell us when a pull request on GitHub breaks the engine:
https://github.com/enigma-dev/enigma-dev/pull/1077 (https://github.com/enigma-dev/enigma-dev/pull/1077)

I've actually made a number of changes to the GTK system that should improve how it finds the headers on Linux. You should probably take a look at that which is going to be merged tomorrow.

What platform are you trying to use gtk from? This should fix Linux, but for Windows, you'll want to download the GTK headers manually and then stick them in:
Code: [Select]
ENIGMA\enigma-dev\ENIGMAsystem\Additional\i686-w64-mingw32\include
Edit: Oh sorry, I didn't know you were asking about the GUI extension, TheExDeus wrote that and it may only work if you change the graphics system to OpenGL 3.3, I'm not exactly sure as I never tested it myself.


Ok so I tried your suggestion, mixing it up with different combinations but still it didn't work. As for you making some some changes can't wait to try them out. Very grateful for your response though. Thanks very much for all your hard work and your continued support.

For future reference I am using the LINUX platform. Only when a user needs help I then resort to the WINDOWS as I understand a lot of users use that platform, but personally I use the LINUX platform.
Title: Re: GTK WIDGETS
Post by: The_Watcher on August 05, 2018, 12:37:46 pm

For future reference I am using the LINUX platform. Only when a user needs help I then resort to the WINDOWS as I understand a lot of users use that platform, but personally I use the LINUX platform.

Correct, a lot of users (the ones that are not brainwashed at least) use Windows.  Nothing wrong with Windows.  The only thing wrong is the user who's been fed bollocks about windows sucking.
Title: Re: GTK WIDGETS
Post by: HitCoder on August 06, 2018, 08:01:50 pm

For future reference I am using the LINUX platform. Only when a user needs help I then resort to the WINDOWS as I understand a lot of users use that platform, but personally I use the LINUX platform.

Correct, a lot of users (the ones that are not brainwashed at least) use Windows.  Nothing wrong with Windows.  The only thing wrong is the user who's been fed bollocks about windows sucking.

i mean, windows does suck. everything is wrong with it.
linux and mac also suck.
all platforms are terrible.
that's why people can choose the one they find suits them best.
stop being a silly billy ;P