yoyz / amsynth

Automatically exported from code.google.com/p/amsynth
GNU General Public License v2.0
1 stars 0 forks source link

Compiling GIT version fails on Debian Squeeze with GTK 2.20 #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi 

Trying to compile from GIT, all dependencies check out in the configure stage 
however compile fails with the following output:

ontrollerView.o `test -f 'PresetControllerView.cc' || echo 
'./'`PresetControllerView.cc
PresetControllerView.cc: In constructor 
‘PresetControllerView::PresetControllerView(VoiceAllocationUnit&)’:
PresetControllerView.cc:21:34: error: ‘gtk_combo_box_text_new’ was not 
declared in this scope
PresetControllerView.cc: In member function ‘virtual void 
PresetControllerView::update()’:
PresetControllerView.cc:99:55: error: ‘GTK_COMBO_BOX_TEXT’ was not declared 
in this scope
PresetControllerView.cc:99:59: error: ‘gtk_combo_box_text_remove’ was not 
declared in this scope
PresetControllerView.cc:105:60: error: ‘GTK_COMBO_BOX_TEXT’ was not 
declared in this scope
PresetControllerView.cc:105:70: error: ‘gtk_combo_box_text_insert_text’ was 
not declared in this scope
make[3]: *** [libGUI_a-PresetControllerView.o] Error 1
make[3]: Leaving directory `/home/glen/Packaging/AMSYNTH/amsynth/src/GUI'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/glen/Packaging/AMSYNTH/amsynth/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/glen/Packaging/AMSYNTH/amsynth'
make: *** [all] Error 2

Here is the output of ./configure

-------------------------------------------------------- amSynth svn
|
| GTK-- version......................................... : 2.20.3
|
| Build with OSS support................................ : yes
| Build with ALSA support............................... : yes
| Build with JACK support............................... : yes
| Build with JACK MIDI support.......................... : yes
| Build with JACK session support....................... : yes
| Build with LASH support............................... : yes
| Build DSSI plugin..................................... : yes
| Build DSSI GUI........................................ : yes
| Build LV2 plugin...................................... : yes
|
| Use libsndfile for .wav output support................ : yes

configure complete. now type 'make' to build amSynth
and then, as root, 'make install' to install

Any advice appreciated :)

Original issue reported on code.google.com by GMa...@gmail.com on 7 Dec 2012 at 5:06

GoogleCodeExporter commented 9 years ago
One of the recent changes made was to reimplement the preset selector with 
GtkComboBoxText.

This component was only added to GTK in version 2.24

Seeing that Debian stable only ships 2.20, I think I need to find something 
more compatible...

Original comment by nickdowell on 8 Dec 2012 at 1:12

GoogleCodeExporter commented 9 years ago
Ok this should be fixed now, please try with the latest code :)

Original comment by nickdowell on 8 Dec 2012 at 1:30