| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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
},
};
| References: | |
| >Undefined variable (RES_ID) not allowed in expression (From: Aristotel Digenis <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.