[PlanetCCRMA] Re: jack_fst - Library requirements

Dave Phillips dlphilp@bright.net
Mon Nov 29 06:22:03 2004

Shayne O'Connor wrote:

>>4. Edit aeffectx.h to this:
>>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);
>>        }

Interesting. My aeffectx.h does not include those lines, I believe those 
are the lines that ought to be commented out. Here's what I have for the 
VstFileType structure:

//---Used by audioMasterOpenFileSelector-----------
struct VstFileType
        char name[128];
        char macType[8];
        char dosType[8];
        char unixType[8];
        char mimeType1[128];
        char mimeType2[128];

One thing you'll notiuce is that your code is missing a semicolon after 
the second curly brace, I think that's why you're getting this syntax error:

>>In file included from jfst.c:25:
>>/usr/local/include/vst/aeffectx.h:918: error: syntax error before "if"
>>/usr/local/include/vst/aeffectx.h:938: 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
You can probably fix that by adding the semicolon. If you still have a 
problem, delete the lines you've shown above and replace them with what 
I've shown (they may already be there, so make sure they're not 
commented out).

And yes, jack_fst works well on my system.