qferret
March 12th, 2006, 12:48 PM
If I use gtkmm 2.4 when creating a GUI, comboboxes work (at least they show up)
If I use gtkmm 2.0, comboboxes error out on build:
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: ‘sigc’ has not been declared
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: ISO C++ forbids declaration of ‘slot’ with no type
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: expected ‘;’ before ‘<’ token
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:158: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:158: error: ISO C++ forbids declaration of ‘SlotCellData’ with no type
/usr/include/gtkmm-2.0/gtkmm/combobox.h:290: error: ‘SlotRowSeparator’ in class ‘Gtk::TreeView’ does not name a type
/usr/include/gtkmm-2.0/gtkmm/combobox.h:297: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/gtkmm-2.0/gtkmm/combobox.h:297: error: ISO C++ forbids declaration of ‘SlotRowSeparator’ with no type
Is there a way to get Anjuta to use 2.4 when building? If I have 2.4 installed, Anjuta still looks for 2.0 & fails. Is there a symlink I can change somewhere to make it look at the other? (like you can make gcc point to either gcc-3.4 or gcc-4.0)
If I use gtkmm 2.0, comboboxes error out on build:
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: ‘sigc’ has not been declared
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: ISO C++ forbids declaration of ‘slot’ with no type
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:156: error: expected ‘;’ before ‘<’ token
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:158: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/gtkmm-2.0/gtkmm/celllayout.h:158: error: ISO C++ forbids declaration of ‘SlotCellData’ with no type
/usr/include/gtkmm-2.0/gtkmm/combobox.h:290: error: ‘SlotRowSeparator’ in class ‘Gtk::TreeView’ does not name a type
/usr/include/gtkmm-2.0/gtkmm/combobox.h:297: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/include/gtkmm-2.0/gtkmm/combobox.h:297: error: ISO C++ forbids declaration of ‘SlotRowSeparator’ with no type
Is there a way to get Anjuta to use 2.4 when building? If I have 2.4 installed, Anjuta still looks for 2.0 & fails. Is there a symlink I can change somewhere to make it look at the other? (like you can make gcc point to either gcc-3.4 or gcc-4.0)