[linux-audio-user] Compiling jack_FST

motorhammer motorhammer at bluewin.ch
Sat Nov 20 04:37:16 EST 2004


Hi,
Thanks for your help.

No, I can't fix the problems about the VstFileType. I can't comment out the 
line 918 about the VstFileType function because it's already commented out..
This is my file "aeffectx.h" located in "/usr/local/include/vst" after a 
succesfull compiling of FST.

>>>>>>>>Lines 915 to 939:>>>>>>>>>

//---Used by audioMasterOpenFileSelector-----------
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];
	char unixType[8];
	char mimeType1[128];
	char mimeType2[128];
};


>>>>>>and the lines 941 to 943>>>>>>>

struct VstFileSelect
{
	long command;           // see enum kVstFileLoad....
	long type;              // see enum kVstFileType...

	long macCreator;        // optional: 0 = no creator

	long nbFileTypes;       // nb of fileTypes to used
	struct VstFileType *fileTypes; // list of fileTypes

	char title[1024];       // text display in the file selector's title

	char *initialPath;      // initial path


Now the second problem, about jack: I'm using version 0.98.1-5. But the devel 
version is the 0.94.-71 one. I'm going to upgrade it.

Thanks for your replies.
Yves

Frank wrote:
> Ok, but your logfile showed 2 problems: One was the issue with VstFileType
> that you (hopefully) fixed, and the other is this one:

> > > > 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"
>
> which typically means your JACK packages are too old (try at least version
> 0.98.1).
>
> Greetings,
> Frank



More information about the Linux-audio-user mailing list