compiling gtkmm hello world example

I am trying to compile the below example on Ubuntu 7.10:

I use my own makefile:

all: main

main: helloworld.h helloworld.cpp main.cpp
	gcc main.cpp $(INC) -o main

But I get the error:
gcc main.cpp /usr/include/gtkmm-2.4/gtkmm/ -o main
main.cpp:1:24: error: gtkmm/main.h: No such file or directory

even though I have included the path in the include option. What am I doing

View this message in context:
Sent from the Gtkmm mailing list archive at

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