Re: compiling gtkmm hello world example



And even then it's wrong as it should be:

INC=/usr/include/gtkmm-2.4

..

-- Milosz

2008/3/31, Hubert Figuiere <hub figuiere net>:

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


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



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