开发者

Configuring Codeblocks for GTK+

I have configured CodeBlocks with lib , src, bin , include paths for GTK+ , and I have choosen the GTK+ projec开发者_Python百科t

I am trying to run the program in http://pastebin.org/366972

But during build I am getting errors - please see http://pastebin.org/366980 .

Am I missing something.


You have to specify the GTK+ libraries to the linker and other dependencies:

  • gtk-win32-2.0.lib
  • gdk-win32-2.0.lib
  • atk-1.0.lib
  • gdk_pixbuf-2.0.lib
  • pangowin32-1.0.lib
  • pango-1.0.lib
  • gobject-2.0.lib
  • gmodule-2.0.lib
  • glib-2.0.lib
  • intl.lib
  • iconv.lib
  • glade-2.0.lib
  • xml2.lib

Under Linux, which libraries are needed would be returned by the command: pkg-config gtk+-2.0 --libs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜