Thanks for the reply!AdmiralQuality wrote:Let me know if you figure out how to get it to compile in XCode 4.x. Someday I'll need to know.
The tutorial 2 in VSTGUI from SVN builds on Xcode 4.6.2 using Apple LLVM compiler 4.2. There are some modifications that need to be done though.
I needed to copy the Mac OS X 10.6 SDK into the Xcode bundle into /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs (SDKs are no longer in /Developer/SDKs). SDK 10.7 onwards fail to compile due to undefined (deprecated) symbols. I had to download 3.x Xcode installation image and extract the 10.6 SDK from the package, which included navigating into some hidden directory whose name i can't remember.
The
Code: Select all
VSTGUI_ENABLE_DEPRECATED_METHODS=0Then i had some odd linker error
Code: Select all
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_NSMutableOrderedSet", referenced from:
objc-class-ref in libarclite_macosx.a(arclite.o)
"_OBJC_CLASS_$_NSOrderedSet", referenced from:
objc-class-ref in libarclite_macosx.a(arclite.o)
"_objc_autoreleasePoolPush", referenced from:
___ARCLite__load in libarclite_macosx.a(arclite.o)
"_objc_retain", referenced from:
___ARCLite__load in libarclite_macosx.a(arclite.o)
(maybe you meant: _objc_retainedObject)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
That's all i had to do. I hope this will help you and others.

