Comment out the function VstFileType in the file
fst-1.6/vst/aeffectx.h (around line 918) then rebuild fst and rebuild
and relink jack_fst. This should fix it. (Does for me anyway...)
FYI - Please make sure you are using wine-20040505 or OLDER. Newer
versions of Wine will not work with jack_fst without an additional
hack to jack_fst which is currently not supported by the Jack
developers.
Good luck,
Mark
On Thu, 18 Nov 2004 19:50:31 +0100, motorhammer <motorhammer(a)bluewin.ch> wrote:
Hi !!
I'm getting some errors when compiling jack_fst.
fst compiled just fine.
Of course, I did what you say in the readme; I removed the constructors
with ../fixheaders and change " VstFileType *fileTypes; // list of fileTypes"
to "struct VstFileType *fileTypes; // list of fileTypes".
When I run make in the jack_fst-1.2 directory, I'm getting these errors:
yves@Yves:~/jack_fst-1.2> make
make all-am
make[1]: Entering directory `/home/Yves/jack_fst-1.2'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/opt/gnome/include/glib-2.0-I/opt/gnome/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/vst -MT jfst.o -MD -MP -MF
".deps/jfst.Tpo" \
-c -o jfst.o `test -f 'jfst.c' || echo './'`jfst.c; \
then mv -f ".deps/jfst.Tpo" ".deps/jfst.Po"; \
else rm -f ".deps/jfst.Tpo"; exit 1; \
fi
In file included from jfst.c:25:
/usr/local/include/vst/aeffectx.h:918: error: parse error before "VstFileType"
/usr/local/include/vst/aeffectx.h:939: error: parse error before '}' token
jfst.c: In function `main':
jfst.c:258: error: `JackThreadInitCallback' undeclared (first use in this
function)
jfst.c:258: error: (Each undeclared identifier is reported only once
jfst.c:258: error: for each function it appears in.)
jfst.c:258: error: parse error before "jack_thread_init"
make[1]: *** [jfst.o] Erreur 1
make[1]: Leaving directory `/home/Yves/jack_fst-1.2'
make: *** [all] Erreur 2
I checked if the constructors where really removed in
usr/local/include/vst/aeffectx.h ...yes they are.
Could somebody tell me how to fix this please ?
Thanks in advance,,,,and sorry for my Bad english, I'm french :)