Hello, would appreciate any help with this.
Trying to compile legasynth but its got me stumped. ./configure runs okay but
it complains it can build but cannot execute a gtkmm file. If I skip the
Gtkmm check, (and dependency check) it then breaks early on in the compile.
I am using Debian (sid) and have tried uninstalling libgtkmm-dev and
installing the tarball but to no avail: same symptoms.
make[1]: Entering directory `/home/stone/legasynth-0.4.1/effects'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"LegaSynth\"
-DVERSION=\"0.4.1\" -DHAVE_LIBASOUND=1 -DSTDC_HEADERS=1 -I. -I.
-DOSS_ENABLED -DALSA_ENABLED -O3 -ffast-math -DPOSIX_ENABLED
-I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include
-I/usr/include/sigc++-1.0 -I../lib -I../freeverb -c -o chorus.o `test -f
chorus.cpp || echo './'`chorus.cpp
In file included from chorus.h:21,
from chorus.cpp:18:
../lib/typedefs.h:32: error: syntax error before `(' token
../lib/typedefs.h:35: error: `cacabuffer' was not declared in this scope
../lib/typedefs.h:35: error: `m_val' was not declared in this scope
../lib/typedefs.h:35: error: ISO C++ forbids declaration of `sprintf' with no
type
../lib/typedefs.h:35: error: `int sprintf' redeclared as different kind of
symbol
/usr/lib/gcc-lib/i386-linux/3.3/include/stdio.h:310: error: previous
declaration of `int sprintf(char*, const char*, ...)'
../lib/typedefs.h:35: error: initializer list being treated as compound
expression
../lib/typedefs.h:36: error: parse error before `return'
In file included from chorus.h:21,
from chorus.cpp:18:
../lib/typedefs.h:41:1: warning: no newline at end of file
In file included from chorus.cpp:18:
chorus.h:41: error: 'vector' is used as a type, but is not defined as a type.
chorus.cpp: In constructor `Chorus::Chorus(int)':
chorus.cpp:23: error: `ringbuffer' undeclared (first use this function)
chorus.cpp:23: error: (Each undeclared identifier is reported only once for
each function it appears in.)
chorus.cpp: In member function `void Chorus::process(Sint32*, Sint32*, int)':
chorus.cpp:80: warning: initialization to `int' from `double'
chorus.cpp:80: warning: argument to `int' from `double'
chorus.cpp:81: warning: initialization to `int' from `double'
chorus.cpp:81: warning: argument to `int' from `double'
chorus.cpp:118: warning: initialization to `int' from `double'
chorus.cpp:118: warning: argument to `int' from `double'
make[1]: *** [chorus.o] Error 1
make[1]: Leaving directory `/home/stone/legasynth-0.4.1/effects'
make: *** [all-recursive] Error 1
James