To compile a C++ application using gtkmm in Code::Blocks, do the following steps:
- Open Project > Build Options…
- Select your project.
- On the Compiler settings tab, select Other options and add this to the field:
`pkg-config gtkmm-3.0 –cflags` - Select the Linker settings tab and type the following line in the Other linker options text area:
`pkg-config gtkmm-3.0 –libs`