我正在运行OSX 10.8和Xcode 3.2.4,但我尝试针对10.5和10.6进行编译均无济于事。
我正在使用Oli Larkin的框架来为每个vst,vst3,au和rtas编译音频插件。除了编译到音频单元之外,所有功能都可以正常工作。当我尝试编译时,在“ resource.h”打开期间收到“ SysError 0”。这不仅对于我所做的重复项目,而且对于IPlugEffect和IPlugMaxi不变的示例都在发生。
这是Xcode给我的完整错误-
Rez build-mac / MBPressor007.build / Debug / AU_32_intel.build / ResourceManagerResources / Objects / IPlugAU-73B43941A9DFE8A.rsrc ../../WDL/IPlug/IPlugAU.r
cd“ /开发人员/插件SDK / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007”
/ Developer / Tools / Rez -o“ / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 / build-mac / MBPressor007.build / Debug / AU_32_intel.build / ResourceManagerResources / Objects / IPlugrc-73B43941A9DFE8A.rs “ -d SystemSevenOrLater = 1 -useDF -script罗马-d ppc_ $ ppc -d i386_YES -I /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Versions/A/Headers -I / Developer / Examples / CoreAudio / AudioUnits / AUPublic / AUBase -arch i386 -i“ / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 / build-mac / Debug” -i /Developer/SDKs/MacOSX10.5.sdk/ System / Library / Frameworks / CoreServices.framework / Frameworks / CarbonCore.framework / Versions / A / Headers -i / Developer / Examples / CoreAudio / AudioUnits / AUPublic / AUBase -i“ / Developer / Plugin SDKs / olilarkin-wdl-ol- 92f9028 / IPlugExamples / MBPressor007 /../../ WDL / swell“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL“ -i” / Developer /插件SDK / olilarkin-wdl-ol-92f9028 / IPlugExample s / MBPressor007 /../../ VST_SDK“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug / dfx“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug / RTAS“- i“ / Developer / Plugin SDK / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ VST3_SDK / public.sdk / source / common” -i“ / Developer / Plugin SDKs / olilarkin-wdl-ol -92f9028 / IPlugExamples / MBPressor007 /../../ VST3_SDK / pluginterfaces / gui“ -i” / Developer / Plugin SDK / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ VST3_SDK / pluginterfaces / base“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ VST3_SDK / public.sdk / source / vst“ -i” / Developer / Plugin SDKs / olilarkin- wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ VST3_SDK / pluginterfaces / vst“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 / app_wrapper“ -i” / Developer /公升ugin SDK / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / rtaudiomidi“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../。 ./VST3_SDK/public.sdk/source/main“ -i” / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 / build-mac / Debug“ -i” / Developer / Plugin SDKs / olilarkin- wdl-ol-92f9028 / IPlugExamples / MBPressor007 / build-mac / Debug / include“ -i / Developer / Plugin -i SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug- isysroot /Developer/SDKs/MacOSX10.5.sdk“ / Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug / IPlugAU.r”
/ Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug / IPlugAU.r:1:### / Developer / Tools / Rez-打开“ resource.h”。
致命错误!
/ Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 /../../ WDL / IPlug / IPlugAU.r:1:### / Developer / Tools / Rez-致命错误,无法恢复。
resource.h:### / Developer / Tools / Rez-由于发生错误,因此/ Developer / Plugin SDKs / olilarkin-wdl-ol-92f9028 / IPlugExamples / MBPressor007 / build-mac / MBPressor007.build / Debug / AU_32_intel.build /未编写ResourceManagerResources / Objects / IPlugAU-73B43941A9DFE8A.rsrc的资源派生。
该文件确实存在,并且我尝试在目标的构建设置中设置REZ_SEARCH_PATHS选项以指向我的项目的绝对路径,但是没有运气。
有任何想法吗?
最佳答案
啊哈解决了!!
问题是我已经在Developer目录中安装了SDK和我的项目,这引起了某种冲突...在用户目录中重新安装SDK和我的项目后,我再也没有任何问题了。这应该适用于遇到任何有关看似不可读的.h文件的rez问题的人。
关于c++ - IPlugEffect(音频单元目标)“在打开“resource.h”期间出现SysError 0”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12675331/