newbie Q on code::block

i m new to this, planning on using code::block/c++/gtkmm to develop apps to run on both windows & linux.
i installed code::block/c++ bundled, n then installed gtkmm, so in my project, i did the following:

build option -> compiler settings -> other options
added `pkg-config --cflags gtkmm-2.4`

build option -> linker settings -> other options
added `pkg-config --libs gtkmm-2.4`

did that for both debug & release. ok, so now the very simple code

// begin

#include <gtkmm.h>

int main(int argc, char *argv[])
Gtk::Main kit(argc, argv);
Gtk::Window window;
return 0;

// end

building the project did not show any error, completed successfully
but when i ran it, the supposedly window did not appear, i get a popup:
gtkmm_tut.exe has stopped working, blah blah blah

so any1 wanna offer help? what did i do wrong?
i have been trying to work in Eclipse but that is worse, I cant even get the build to work, all sort of error messages
i was however able to get the program to work in VC++10, does that mean i get stuck with MS?
i wanna develop a desktop applications to run on MS windows as well as linux, any help greatly appreciated!
Topic archived. No new replies allowed.