Saturday, August 21, 2010

Gtk+ 2.20, Glade 3.7.1, GtkGlExt 1.2.0 all in one Windows installer

I created an all in one Windows installer,
for using Gtk+ libraries,
also with Glade 3.7.1 (GUI visual creation) and
GtkGlExt (OpenGl embedded in a GtkDrawingArea).

You can download the Gtk+, Glade, GtkGlExt global installer from this links:
Gtk+, Glade, GtkGlext all in one Windows installer

The installer simply copies the files into a Gtk directory, updating PATH environment variable.

Optionally, you can also get the different parts of the dlls which form the previous installer from the following links:
Gtk+ for Windows
Glade 3.7.1 zip for Windows
GtkGlExt installer for Windows

All the libraries are updated to the last version of today, and they seem to be perfectly useful (my project works very well).
I'll try to mantain here the most updated files.

You can view the licenses from those links.

The installer was created using
NSIS (Nullsoft Scriptable Install System
with its Eclipse plugin

The script file generated and compiled to create the installer is the following
setup_gtk.nsi
which uses this one as well
EnvVarUpdate.7z
(have a look at this page for path settings: /Environmental_Variables

Updating this installer is easy!
It is simple to maintain by everybody.

  • You must only install NSIS,
  • take the Windows binaries of the different tools from the official links,
  • put them in c:\program files\GTK directory,
  • compile setup_gtk.nsi file here aboveI updated.

Updated to the date of this post with the latest libraries:

Glade 3.7.1!
Libglade 2.6.4
GLib 2.24.0
GTK+ 2.20.0
Pango 1.28.0
ATK 1.30.0
Cairo 1.8.10

21 comments:

Anonymous said...

Hi, there is a little problem with the updated version of the installer... it set the Path variable with something like c:\programmi\Gtk\bin which is invalid on English language system ;)

David

Marco Bonifazi said...

I'll try to resolv in few times

Marco Bonifazi said...

I fixed the problem, but if you can give me a feedback it is better :-)

Anonymous said...

I confirm, the problem is solved :)

thanks!

David

ㄚ琪 said...

Your articles solve my StarDict and GTK problems!thanks!

http://job.achi.idv.tw
http://achi.idv.tw

Marco Bonifazi said...

Ehm, what articles, sorry :-)?

Bob said...

hi is there a gtkGlExtmm installer too?

Marco Bonifazi said...

No, I'm sorry

Vicent said...

Hello, Marco.

Once I've used your installing application, what must I do if I want to update GTK + Glade + etc. to their latest versions in Windows XP??

Could you give a (more or less) step-by-step guide for newbies like me??

Thank you in advance.

Marco Bonifazi said...

What I did is just to compile Glade for Windows, following the step by step guide cited in the related post That guide is in Italian language, I'm sorry.
Basically you should compile Glade using Mingw and Msys as if you were in Linux but linking to the Windows Gtk+ libraries, being careful to use the proper environment variables either in Windows and in Linux.

The other stuff is taken from GTK+ website, you can download from Windows section.

明覺 said...

could you help build a installer for gtkglextmm?

Anonymous said...

gtkglext does not seem to work with the included version of pango

If I download the complete Gtk+ package and execute font.exe from the examples, I get this error:

(font.exe:1264) GdkGLExt-WARNING **: cannot load PangoFont
***Can't load font 'courier 12'

Lars Ruoff said...

Hello Marco and all,
i have aproject making use of GTK and GlExt, but i run into problems:
It works pretty well up to the point where i want to include GlExt stuff.
My program compiles (using VS2008 Express) but i miss the symbols for the GlExt.
I don't see any .lib in the GlExt folders so what library am i supposed to link against?
Can you help me?

Lars

Italo said...

Great work! Works perfectly. Can you provide x64 version?

Marco Bonifazi said...

Hi Lars, the dll should be already in gtk/bin directory, the header files in gtk/include. It works fine in my case.

Anonymous said...

hey is there any good tutorials explaining how to program with gtk+/glade

Marco Bonifazi said...

In my case, I've used the PyGtk tutorial to know more about Gtk world:
http://www.pygtk.org/pygtk2tutorial/index.html

Catalin Festila said...

I use pygtk and i have one question about linux and win xp. I have a small example with pygtk on my linux and i want to make working on win xp. What i need to make that.
Thank you .

Marco Bonifazi said...

You must install Gtk+ libraries, Python and the PyGtk libraries, all for WIndows.
I've created a package here:
http://bonifazi.blogspot.com/2009/04/python-pygtk-pyopengl-pygtkglext.html
Hope it's helpful.

If your code is not platform dependent, it should quite straightforward to run it on Windows as well.

Jaspal Singh said...

Hi,
I downloaded the 3 in 1 installer on my windows vista.
When i try to install uget downloader, it asks to install gtk+.
But same is alreay installed and I can see that in my program list.

any solution for this?

Thanks in advance

Anonymous said...

Are there any poppler windows binary with .gir files? That will be great for python programmers.