Re: [gtkmm] Error compiling with gtkmm 1.3.18



On Wed, 2002-07-31 at 16:17, Nuno Afonso wrote:
> Hi,
> 
> i was using gtkmm 1.3.17 and i could compile my program, but when i
> installed the gtkmm 1.3.18 it gave the following error in the gtkmm
> files:
> 
> g++ -Wall -ansi -pedantic -g -o teste_gtkmm_lista teste_gtkmm_lista.C
> gtkmm_lista.C `pkg-config gtkmm-2.0 --cflags --libs` 
> In file included from
> /usr/local/include/gtkmm-2.0/gtkmm/treeviewcolumn.h:28, 
>                  from /usr/local/include/gtkmm-2.0/gtkmm/treeview.h:34, 
>                  from
> /usr/local/include/gtkmm-2.0/gtkmm/fileselection.h:35, 
>                  from /usr/local/include/gtkmm-2.0/gtkmm.h:64, 
>                  from teste_gtkmm_lista.C:1: 
> /usr/local/include/gtkmm-2.0/gtkmm/treeiter.h: In member function `void 
>    Gtk::TreeRow::set_value(int, const ColumnType&) const': 
> /usr/local/include/gtkmm-2.0/gtkmm/treeiter.h:328: cannot declare member
> ` 
>    Gtk::TreeModelColumn<ColumnType>::ValueType' within `Gtk::TreeRow' 
> /usr/local/include/gtkmm-2.0/gtkmm/treeiter.h:328: parse error before
> `;' token/usr/local/include/gtkmm-2.0/gtkmm/treeiter.h:331: parse error
> before `::' 
>    token 

Do the examples and demos build for you? What type are you using for
that column?

You might need to #include something manually. Maybe <gtkmm/treemodel.h>
or <gtkmm/treeiter.h>.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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