Undefined variable (RES_ID) not allowed in expression
Undefined variable (RES_ID) not allowed in expression
- Subject: Undefined variable (RES_ID) not allowed in expression
- From: Aristotel Digenis <email@hidden>
- Date: Mon, 02 Aug 2004 00:20:43 +0100
I have been compiling my plug in with xCode with no problems. All the
sudden, the order in which headers of the audio unit are compiled has
changed and then at "rezzing" I get a problem which I have never seen
before. I cannot even find any information on the mailing list regarding
this. While the plug in would compile the heirachy of the AudioUnit
framework first, then moving to the classes that I have written, now it
compiles things in a completely different order. The result error is as
follows. Has anybody come across this? Help would be gretaly appreciated
as my work has come to a comlete stop as a result of this. Thanks in advance
Rezzing /
Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUResources.r (8
errors)
Undefined variable (RES_ID) not allowed in expression.
Expected varialble, but got ','
Undefined variable (RES_ID) not allowed in expression.
Expected varialble, but got ','
Undefined variable (RES_ID) not allowed in expression.
Expected varialble, but got ','
Undefined variable (RES_ID) not allowed in expression.
Expected varialble, but got ','
In the file AUResources.r they refer to the following section of code,
which ofcourse I have not touched. I have not made any changes to this
file, infact I have never looked at it before.
resource 'STR ' (RES_ID, purgeable) {
NAME
};
resource 'STR ' (RES_ID + 1, purgeable) {
DESCRIPTION
};
resource 'dlle' (RES_ID) {
ENTRY_POINT
};
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resource 'thng' (RES_ID, NAME) {
COMP_TYPE,
COMP_SUBTYPE,
COMP_MANUF,
0, 0, // Flags, Mask
0, 0, // Code
'STR ', RES_ID,
'STR ', RES_ID + 1,
0, 0, /* icon */
VERSION,
componentHasMultiplePlatforms | componentDoAutoVersion,
0,
{
0,
'dlle', RES_ID,
platformPowerPC
},
};
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.