Re: Building GTK+ 3.0 with Visual Studio 2013



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]