On Wed, Dec 02, 2009 at 04:14:21PM +0100, Adriano Petrosillo wrote:
Hi,
I tried contacting phasex's developer, but with no reply.
Maybe you will be able to give me a hand.
I incurred in the following compile error:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/alsa -I/usr/local/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -D_GNU_SOURCE -D_REENTRANT -DPHASEX_CPU_POWER=2
-pipe -Wcast-align -mtune=native -march=native -m32 -O3 -ffast-math
-fomit-frame-pointer -MT gtkui.o -MD -MP -MF .deps/gtkui.Tpo -c -o gtkui.o
gtkui.c
gtkui.c: In function ?widget_set_backing_store_
callback?:
gtkui.c:2101: error: ?group? undeclared (first use in this function)
gtkui.c:2101: error: (Each undeclared identifier is reported only once
gtkui.c:2101: error: for each function it appears in.)
make[2]: *** [gtkui.o] Error 1
make[2]: Leaving directory `/home/keysschool/zynaddsubfx/phasex-0.12.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/keysschool/zynaddsubfx/phasex-0.12.0'
make: *** [all] Error 2
I have a Pentium Dual-Core processor, so I enabled compile flags
--enable-arch=native --enable-cpu-power=2. ./configure only asked me for
libsamplerate and it ran smoothly after I installed it, and I'm positive I
have libgtk(whatever)-dev installed as well. I'm running Ubuntu 8.10.
If you are on a Debian or Ubuntu (or derived) system, do you have the -dev version of the
gtk libraries loaded? i.e. libgtk2.0-dev ?
-ken