Re: [gtk-list] Re: about makefile problem




>> I install gtkmm-1.4.1 and gtkmm-devel-1.4.1.
>
>The lastest gtkmm packages are version 1.1.7.  Are you sure you
>are using the currect ones? The output of "gtkmm-config --version"
>should help you determine what version you have installed.
>

thanks a lot.
I had a mistake.
there is gtkmm-1.1.4 that using.

But it still tell me error bellow.
I already add #include <gtk--.h> into test.cc

test.cc:16: `Gtk` undeclared.(first use the function)
test.cc:16: (Each undeclared identifier is reported only once for each     
                 function it appear in.)
test.cc:16:  parse error before `::`
test.cc:20: `kit` undeclared.(first use the function)


my test.cc just contains Gtk::Main kit( argc ,argv );

>Does you test.cc contain the proper includes 
>  #include <gtk--.h>
>>The easiest way to compile is 
>
>  c++ -o foo foo.cc `gtkmm-config --cflags --libs`

I did this. but the error still happened.
Please help me. Thanks a lot.
    cooper



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