Re: compiling gtkmm hello world example



On Sun, 2008-03-30 at 05:24 -0700, bigblop wrote:
> 
> INC=/usr/include/gtkmm-2.4/gtkmm/
> all: main
> 
> main: helloworld.h helloworld.cpp main.cpp
>         gcc main.cpp $(INC) -o main
> 

What Jonathon said is actually the best, but here is where you are very
wrong here: include path are specified with the -I option which you
didn't specify. Should be 

INC=-I/usr/include/gtkmm-2.4/gtkmm/

Hub



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