[gtkmm] Error compiling with gtkmm 1.3.18



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 

hope this helps..
Afonso




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