Hey WDL users,
I have been having issues building VST3 in Xcode 8 - nothing I do seems to fix anything. I get a bunch of linker errors saying "Undefined symbols for architecture x86_64". Also, trying to build just the 32-bit architecture gives me similar errors but for i386. I have tried just about every combination of base SDK and deployment target. I have tried using an older version of the VST3 SDK. I have tried manually deleting the object files. Nothing has worked thus far.
An example of a few of the errors:
Code:
"ControlManager::HandleParamChange(int)", referenced from:
LowMower::OnParamChange(int) in LowMower.o
"ControlManager::ControlManager(IPlugBase*, IGraphics*, BassLimiter*, int)", referenced from:
LowMower::LowMower(IPlugInstanceInfo) in LowMower.o
"Steinberg::String::assign(char16_t const*, int, bool)", referenced from:
Steinberg::Vst::XmlRepresentationHelper::startEndTitleDisplay(Steinberg::Vst::ParameterInfo&) in vstrepresentation.o
Steinberg::String::operator=(char16_t const*) in vstsinglecomponenteffect.o
"Steinberg::String::printf(char16_t const*, ...)", referenced from:
I have messed with commenting out this line, as it was causing me issues intially:
Code:
#ifdef VST3_API
//#define _UINT32 // this is necessary to get VST3 to compile with the 10.6 SDK due to a conflict
#endif
I also tried adding this to my projects main header, but it just made things worse:
Code:
#include <stdint.h>
typedef uint32_t uint32;
The first option got rid of the uint32 issues that I and others have had, but it doesn't seem to have stopped the linker errors. I'm unsure if these additions are causing the linker errors.
I have heard that this may be a problem with Xcode 8, so I suppose next I'll try downgrading. Can anyone else here get VST3 to build in Xcode 8?
Also, I've tried this on both Oli and Earlevel's branch.
Thanks for any assistance that any of you can give!