[gtkmm] Messed up includes somehow



Im trying to compile the following simple test program:

#include <gtkmm/gtkmm.h>

int main()
{
	gunichar a;
	return 	0;
}

When I run:

g++ test.cc

I get the following error:

In file included from /home/ryanm/test.cc:1:
/usr/local/include/gtkmm/gtkmm.h:29:20: glibmm.h: No such file or
directory
/usr/local/include/gtkmm/gtkmm.h:30:19: gdkmm.h: No such file or
directory
/usr/local/include/gtkmm/gtkmm.h:32:26: gtkmm/object.h: No such file or
directory
[snip]

Yet I know all the files are in '/usr/local/include/gtkmm/' from when I
ran:

./configure && make && make install

on gtkmm-2.2.3.tar.gz downloaded from the website. But if I change the
first line to:

#include <gtkmm.h>

as is recommened in the documentation ( which appears to be quite out of
date ), it cant even find that.

I would like to know how to remedy the situation, thank you for your
time.

Cheers,
Ryan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]