GTK: about Building GTK+ 3.0

Re: Building GTK+ 3.0 with Visual Studio 2013


  • From: Syed Akbar <syed_akbar gmx net>
  • To: gtk-list gnome org
  • Subject: Re: Building GTK+ 3.0 with Visual Studio 2013
  • Date: Sat, 08 Feb 2014 10:52:15 +0100

Thanks for your reply, John. I have the problem that GTK drag'n'drop does not work on Windows 7 while Kaspersky Security 2014 or TuneUpUtilities 2014 is running. I just want to debug into the GTK source to see if I can fix it myself... maybe a too ambitious aim.

Am 08.02.2014 10:24, schrieb John Emmas:
On 07/02/2014 22:16, Syed Akbar wrote:

what is the fastest way to build GTK+ 3.0 with Visual Studio 2013 or to include the source files into my project for debugging purposes?


As I mentioned earlier, building from source isn't something for a beginner. This is especially true if you want to build with VS2013.You need to keep in mind that it isn't simply a matter of building GTK+. You'd also need to build all the libraries on which GTK+depends, as well as all the libraries on which they depend etc, etc. At the very least you'd need to build:-
        Gtk+
        Pango
        Cairo
        Atk
        Glib

but you'd almost certainly need others too - such as sigc++ / pixman / i18n / freetype / gdk-pixbuf and a whole host of others. Having said all that, there's an open-source project called HexChat which looks like it might have been built with VS2013:-
http://hexchat.readthedocs.org/en/latest/building.html

If you visit that page you'll notice that they provide pre-built bundles for x86 and x64. I haven't downloaded them but (hopefully)those bundles would include everything you'll need to get you started. And (BIG BONUS HERE) a few lines further down there's a helpful guide for building the entire GTK+ stack with VS2013 !!

OTOH, most of the official libraries contain VS projects but they're predominantly for VC++ 9 (i.e. Visual Studio 2008). So alternatively, you could download the free version of VS2008 and build with that:-
http://win.freewareupdate.com/download-visual-studio-express/10002/

Good luck !

John
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list


 

http://hexchat.github.io/gtk-win32/

posted @ 2015-01-13 01:35  StuJnX6ry  阅读(278)  评论(0编辑  收藏  举报