[PlanetCCRMA] Re: jack_fst - Library requirements
Andres Cabrera
andres at geminiflux.com
Sat Nov 27 08:07:01 PST 2004
Hi,
It looks like the vst header file wasn't patched correctly, it should
look like:
struct VstFileType
{
if (_name)
strcpy (name, _name);
if (_macType)
strcpy (macType, _macType);
if (_dosType)
strcpy (dosType, _dosType);
if (_unixType)
strcpy (unixType, _unixType);
if (_mimeType1)
strcpy (mimeType1, _mimeType1);
if (_mimeType2)
strcpy (mimeType2, _mimeType2);
}
Also make sure you are patching the correct file. Somehow I have headers
in /usr/local/include/vst and /usr/src/fst-1.6/vst and the one used is
the second one.
Also, you do not need to place plugins in a specific directory, you can
call jack_fst with the plugin's full path (use " if the path name
contains spaces)
Cheers,
Andres
PD I get the digest, so Mark has probably answered already... =)
> hi
>
> i've got most everything else in place, and now i'm trying to get vst
> access on my ccrma box. i've read back over this thread, and have
> managed to get fst 1.6 installed ok by following these instructions
>
>
>
>>1) Get the Steinberg SDK - Version 2.3 - from the address in the
>>README for fst-1.6
>>2) Get the files AEffect.h and aeffectx.h from it and place them in
>>fst-1.6/vst directory
>>3) CD to the vst directory and run ../fixheaders
>>4) Edit aeffectx.h, go to about line 921 and edit things to look like
>>this: (A little different than I'm actually running, but I think this
>>is actually better than what I did. I actually commented out the whole
>>function I think...)
>>
>><SNIP>
>>struct VstFileType
>>{
>> VstFileType (char* _name, char *_macType, char *_dosType, char
>>*_unixType = 0, char *_mimeType1 = 0, char *_mimeType2 = 0)
>> {
>>/* if (_name)
>> strcpy (name, _name);
>> if (_macType)
>> strcpy (macType, _macType);
>> if (_dosType)
>> strcpy (dosType, _dosType);
>> if (_unixType)
>> strcpy (unixType, _unixType);
>> if (_mimeType1)
>> strcpy (mimeType1, _mimeType1);
>> if (_mimeType2)
>> strcpy (mimeType2, _mimeType2);
>> } */
>> char name[128];
>> char macType[8];
>> char dosType[8];
>><SNIP>
>>
>>5) CD back to the top directory, then
>>
>>./configure --prefix=/usr
>>make
>>make install (as root)
>>
>
>
> and then i've replaced jfst.c with mark's patch (i'm using wine
> 20040914, so maybe i shouldn't be using that patch, but i get the same
> problem without it), and then make clean, make, make install, but this
> is what i get:
>
>
>
>>[mrmachine at localhost jack_fst-1.2]$ make
>>make all-am
>>make[1]: Entering directory `/home/mrmachine/linux-progz/audio/vst/jack_fst-1.2'if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/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/include/vst/aeffectx.h:918: error: syntax error before "VstFileType"
>>/usr/include/vst/aeffectx.h:940: error: syntax error before '}' token
>>make[1]: *** [jfst.o] Error 1
>>make[1]: Leaving directory `/home/mrmachine/linux-progz/audio/vst/jack_fst-1.2'
>>make: *** [all] Error 2
>
>
> should i perhaps just delete that whole function?
>
> also, if i happen to get this working, where do i put my vst plugins? is it in the /usr/local/ directory or something?
> am i able to set the plugins directory to be in my wine windows drive?
>
> i'm using fedora core 2 ccrma (with 2.6.8 R9 kernel) ...
>
>
> hope you can help :)
>
> shayne
More information about the PlanetCCRMA
mailing list