compiling gtkmm hello world example



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

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-helloworld.html

I use my own makefile:

INC=/usr/include/gtkmm-2.4/gtkmm/
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
wrong?

-- 
View this message in context: http://www.nabble.com/compiling-gtkmm-hello-world-example-tp16380916p16380916.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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