Getting a GTK3 program to compile on Visual Studio 2012




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-program-in-visual-studio-2012

I noted that Codeblocks&MinGW compile the same code under the same
configuration just fine and do not report any problems with GTK3 header
files.
However, I need the program to work with VS2012 specifically.

Here's a link to the compilation errors I get when trying to compile a
basic gtk3 program with VS2012: http://pastebin.com/ThZpwVmg

Here's a link to the basic program I tried compiling:
https://github.com/The-J-Person/Example-gtk3-vs2012-project

Any help will be greatly appreciated!





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