after an hour's fiddling…

Got GTK+/gtkmm projects compiling under Win32. Eclipse (CDT) doesn’t really know about pkg-config. So in order to get CDT to drive the command line correctly I had to put the `pkg-config –libs gtkmm-2.4` as part of a -l directive to the linker. It doesn’t work as just a link option since that puts it before the object files on the command line and results in link errors because of the one-pass left-to-right nature of the Cygwin (g++) linker.

Still, it works now. Hopefully in a future release of CDT miscellaneous link options after the object files will be allowed.

Leave a Reply