View Issue Details

IDProjectCategoryView StatusLast Update
0003946ardourbugspublic2020-04-19 20:15
Reporterpablomme Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta1 
Summary0003946: Ardour 3 alpha 4 fails to compile from sources
DescriptionI tried to compile svn rev. 9292 (alpha 4 unless I'm mistaken) with gcc/g++ 4.4 on my Ubuntu 11.04 beta 1 machine, but encountered the following error:

[569/737] cxx: gtk2_ardour/plugin_eq_gui.cc -> build/default/gtk2_ardour/plugin_eq_gui_1.o
../gtk2_ardour/plugin_eq_gui.cc: In constructor ‘PluginEqGui::PluginEqGui(boost::shared_ptr<ARDOUR::PluginInsert>)’:
../gtk2_ardour/plugin_eq_gui.cc:76:47: error: call of overloaded ‘ComboBox(Glib::RefPtr<Gtk::ListStore>&)’ is ambiguous
/usr/include/gtkmm-2.4/gtkmm/combobox.h:145:12: note: candidates are: Gtk::ComboBox::ComboBox(bool)
/usr/include/gtkmm-2.4/gtkmm/combobox.h:137:12: note: Gtk::ComboBox::ComboBox(const Glib::RefPtr<Gtk::TreeModel>&)

Rev. 9292 was released in binary form, so I guess that the problem appears with certain versions of the gtkmm library.

Anyway, although I'm not terribly familiar with C++, the error message is descriptive enough that I could work around it after having a quick look at the combobox.h header file. Replacing:

- dBScaleCombo = new Gtk::ComboBox(dBScaleModel);
+ dBScaleCombo = new Gtk::ComboBox(dBScaleModel, false);

in gtk2_ardour/plugin_eq_gui.cc removes the ambiguity and the code compiles correctly.
TagsNo tags attached.

Relationships

has duplicate 0003934 closedcth103 waf install fails to build on Maverick and Natty. 

Activities

cth103

2011-04-06 23:26

administrator   ~0010497

This should be fixed in SVN 9319. Please re-open this bug if not.

pablomme

2011-04-07 00:15

reporter   ~0010499

I've verified that it builds correctly now, thanks.

system

2020-04-19 20:15

developer   ~0022518

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2011-04-06 18:36 pablomme New Issue
2011-04-06 19:55 cth103 cost => 0.00
2011-04-06 19:55 cth103 Target Version => 3.0-beta1
2011-04-06 19:56 cth103 Relationship added has duplicate 0003934
2011-04-06 23:26 cth103 Note Added: 0010497
2011-04-06 23:26 cth103 Status new => resolved
2011-04-06 23:26 cth103 Resolution open => fixed
2011-04-06 23:26 cth103 Assigned To => cth103
2011-04-07 00:15 pablomme Note Added: 0010499
2020-04-19 20:15 system Note Added: 0022518
2020-04-19 20:15 system Status resolved => closed