Re: Getting a GTK3 program to compile on Visual Studio 2012

2014-01-16 Thread flabberghasted
Many thanks for the help :) I'd like to note that I tried Arnavion's method and it worked. I initially tried Fan's method, but the file does not seem to exist among the files in the bundle available on gtk.org , so I modified the headers instead. Maybe someone should add that file to the bundle?

Re: Getting a GTK3 program to compile on Visual Studio 2012

2014-01-09 Thread Kolya Kosenko
Hello fr33domlover, On 01/08/2014 08:48 PM, fr33domlover wrote: I've been trying to port my GTK2 program to GTK3, but I've ran into a problem: Visual Studio 2012, which handles GTK2 just fine, claims some glib header files have syntax errors. Your error is very similar to my error when I tried

回覆: Getting a GTK3 program to compile on Visual Studio 2012

2014-01-08 Thread 范君維-
件日期: 2014/1/9 04:02 收件者: flabberghas...@riseup.net 副本: gtk-list@gnome.org 主旨: Re: Getting a GTK3 program to compile on Visual Studio 2012 (Forgot to reply-all.) In gutils.h lines 82 and 122, and in gstring.h line 129, change "static inline" to "static __inline".

Re: Getting a GTK3 program to compile on Visual Studio 2012

2014-01-08 Thread Arnavion
(Forgot to reply-all.) In gutils.h lines 82 and 122, and in gstring.h line 129, change "static inline" to "static __inline". Alternatively add a PreprocessorDefinition to the project file to define "inline" as "__inline". I figured this out just as a hunch, but after doing this I did find http://

Getting a GTK3 program to compile on Visual Studio 2012

2014-01-08 Thread fr33domlover
Hello, I've been trying to port my GTK2 program to GTK3, but I've ran into a problem: Visual Studio 2012, which handles GTK2 just fine, claims some glib header files have syntax errors. I've posted a question on Stack Overflow here: http://stackoverflow.com/questions/20883854/compiling-a-gtk3-pro