Compiling a GTK3 program in Visual Studio 2012

后端 未结 1 1018
感动是毒
感动是毒 2020-12-20 03:48

With the release of Gtk 3 for windows I thought of upgrading my Gtk 2 C application to take advantage of the new GtkGrid widget.

The program compiles fine under linu

相关标签:
1条回答
  • 2020-12-20 04:00

    There is now an answer on the GTK mailing list.

    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".

    https://mail.gnome.org/archives/gtk-list/2014-January/msg00011.html

    That allowed my project to work just fine.

    0 讨论(0)
提交回复
热议问题