AAX compile on a Mac
-
@dustbro - yes thats exactly what i'm trying to do -- but XCode says its 32-bit and wont do it.
-
Looks to me as if you don‘t run Xcode as admin because the copy step to the root library folder fails.
-
@Christoph-Hart yeah thats probably it - so how would I do that from projucer? -- complete Mac novice here..
-
@Christoph-Hart said in AAX compile on a Mac:
Looks to me as if you don‘t run Xcode as admin because the copy step to the root library folder fails.
well I checked my system preferences and I am the admin...so is there something I need to set for XCode?
-
@Lindon -- OK tried again --same access denied problem.... any ideas?
-
@Lindon I see you spoke about compiling the SDK. I don't understand if you succeeded though, so that might be your problem here...
I just compiled the last SDK yesterday and it works... -
Try starting xcode from the command line with sudo, then it should work.
-
@ustk -- nope not compiled the SDK -- what did you do to get it to compile?
-
OK so I ran XCode as sudo, and it still fails like this
that "ld: library not found for -lAAXLibrary_libpp" might be the indicator that Im missing something in the AAX SDK....
-
@Lindon Open
HISE/tools/SDK/AAX/Libs/AAXLibrary/MacBuild/AAXLibrary.xcodeproj
and perform a standard "Build for profiling"
Note that the root folder has been renamed justAAX
-
@Lindon Yes that's it, library not found means you are compiling without having the lib in the SDK... Compile the SDK first and it should work
-
@ustk OK so I down load the SDK (AAX_SDK_2p2p2) extract it to a drive.
-- go to: /AAXSDK_2p2p2/libs/MacBuild and double click on AAXLibrary.xcodeproj
-- xcode opens and tells me:
--stuck!
-
@Lindon Why don't you use the 2.3.2 version?
-
@Lindon oh hang on 2p3p2 seems to be compiling....
-
@ustk sorry yeah I had tried 2p3p2 I thought - perhaps not...
-
@Lindon fingers crossed ;)
-
@ustk yep well that worked - so what do put in the tools/SDK folder for HISE now? the entire AAX_SDK_2p3p2 folder? do I rename it AAX SDK ?
-
sigh---- ok well now I get these errors:
error: You don’t have permission to save the file “Info.plist” in the folder “Contents”.
error: couldn't remove '/Library/Application Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/PkgInfo' after command failed: Permission denied
error: couldn't remove '/Library/Application Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin/Contents/Info.plist' after command failed: Permission denied
-
-
oh no --so close...
So I opened up permission on everything in this chain and ran again - this time it built the plug but failed at the end:
** BUILD FAILED **
The following build commands failed:
SetOwnerAndGroup lindon:staff /Library/Application\ Support/Avid/Audio/Plug-Ins/RetroVolt.aaxplugin
(1 failure)
Compiling finished. Cleaning up...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.