Ask Your Question

Revision history [back]

To me it seems like the include in viewer.h is not

#include <gtkmm-2.4/gtkmm.h>

but

#include <gtkmm.h>

So what you actually need is to add /usr/include/gtkmm-2.4 to your include path.

To include libraries in CMake, you normally either use cmake's built-in find macros or pkgconfig. Have a look here to find out how to correctly include gtkmm in CMake.