View Full Version : gtkmm dev -- include folders??

September 24th, 2009, 06:35 PM
I am new to GTK development, but I am very comfortable with C++ overall (I am currently developing a couple game projects in SDL).

I want to use the gtkmm library, but I simply cannot get anything to work. I added the gtkmm folder to my include-folders list, but it still misses many header files. I started adding more and more folders based on the missing header files, but it would never end. I have to be doing something wrong.

Which include folders should I target? What libraries should I link to? I've downloaded gtkmm samples that claim to work, but my configuration is simply wrong. (I am using Code::Blocks to do this.)

September 24th, 2009, 06:37 PM
use pkg-config to get the needed flags:
pkg-config --libs --cflags gtkmm-2.4

September 24th, 2009, 06:50 PM
I'll give that a try. I just have one other question: while I do most of my development in Ubuntu, will I need to link mingw32 in Windows as I do for SDL?