Problem compiling with AAX
-
OK trying AAX for the first time,
Joined the relevant Avid program
Downloaded AAX_SDK_2p2p2.zip
unzipped it and renamed it AAXput it here:
{HISE project}/tools/SDK/AAX
opened an existing prioject
tried to compile the 64-bit version (so I'm on windows here..)got this error:
c:\users\lindon\desktop\hise-scriptnode\juce\modules\juce_audio_plugin_client\a ax\juce_aax_wrapper.cpp(56): error C2065: 'AAX_SDK_2p3p0_REVISION': undeclared identifier [D:\Audio\ChannelRobot\AA HISE Work\Shapiro\Binaries\Builds\VisualSt udio2017\Shapiro_AAX.vcxproj] c:\users\lindon\desktop\hise-scriptnode\juce\modules\juce_audio_plugin_client\a ax\juce_aax_wrapper.cpp(75): fatal error C1083: Cannot open include file: 'AAX_ IDescriptionHost.h': No such file or directory [D:\Audio\ChannelRobot\AA HISE W ork\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
for the later fatal error - I looked and :
D:\Audio\ChannelRobot\AA HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj
is present.
-
@Lindon once you unzip, you need to compile their SDK. Did you do that yet?
-
@dustbro oh no I didnt - how do I go about doing that?
-
@Lindon
You need to create .lib files on your own using the AAX SDK Solution file for Mac and Windows separately. -
@orange OK great, so (lets start with windows..) I...
read the (somewhat terse) documentation and..
went to:
..tools/SDK/AAX/Libs/AAXLibrary/WinBuild/vs2013/
and opened AAXLibrary.vcxproj in VS2017..
I selected Release x64 and pressed build...
I got a build that succeed...yay!
So I now have another folder in there called int
I go there and follow the trail to:
int/Release/AAXLibrary/x64/
Theres a bunch of obj files in there so something working...
now final (windows) question -
Do i need to move any of this somewhere HISE can see it?
-
@Lindon Just compile the solution file and don't change anything, leave the files in the AAX SDK folder.
So the files should be like this:
64 bit: SDK KIT\AAX\Libs\Release\AAXLibrary_x64.lib
32 bit (if you use): SDK KIT\AAX\Libs\Release\AAXLibrary.libWhile building AAX plugins, Hise will use this files that are already in SDK folder. After compiling your plugin, you need to digitally sign the compiled plugin in order to use it in Pro Tools. If you have Pro Tools Developer License, you can preview your plugins without signing. But for normal Pro Tools versions, you must sign.
For that, just contact the Avid, all of the AAX plugin information is in the Avid's NDA ;)
-
@orange thanks, yeah already started down the path to getting on the program...
{EDIT}
Hang on I havent got anything called AAXLibrary_x64.lib
in here:
HISE-scriptnode\tools\SDK\AAX\Libs\AAXLibrary\WinBuild\vs2013\int\Release\AAXLibrary\x64
I have:
19/08/2019 14:35 305,674 AAXLibrary.log
19/08/2019 14:35 1,404,928 AAXLibrary.pdb
19/08/2019 14:35 <DIR> AAXLibrary.tlog
19/08/2019 14:35 5,851 AAX_CAutoreleasePool.Win.obj
19/08/2019 14:35 83,635 AAX_CMutex.obj
19/08/2019 14:35 5,133 AAX_CommonConversions.obj
19/08/2019 14:35 10,715 AAX_CUIDs.obj
19/08/2019 14:35 55,718 CACFClassFactory.obj -
@Lindon The aim for compiling the source file is .lib files. Are you sure it is not located different folder? If you compile it, it should be there.
-
@orange well it not in that folder - which folder should it be in?
-
@Lindon I wrote it above, again:
64 bit: SDK KIT\AAX\Libs\Release\AAXLibrary_x64.lib
32 bit (if you use): SDK KIT\AAX\Libs\Release\AAXLibrary.lib -
@orange yes -- sorry but I also said - but tio be clear: there is nothing in the folder
tools\SDK\AAX\Libs\Release\
-
OK so I tried again and now its failing to build in VS2017.. hang on I'll look for the problem.
-
now I'm getting a whole bunch of these :
c:\users\lindon\desktop\hise-scriptnode\tools\sdk\aax_sdk_2p2p2\interfaces\aax.h(219): error C2220: warning treated as error - no 'object' file generated (compiling source file ....\source\AAX_CACFUnknown.cpp)
-
@Lindon said in Problem compiling with AAX:
warning treated as error
So the solution to this was to turn OFF treat warnings as errors in VS 2017:
to do that:
right click your project in VS 2017 (in this case AAXlibrary),
select properties
Select C++/General
Set: Treat warnings as errors to NoThis is Avid not updating their lib past VS2013.....
Thanks for your help @orange
-
@Lindon OK so I seem to have
HISE-scriptnode\tools\SDK\AAX\Libs\Release\AAXLibrary_x64.lib
which I think is whats needed from the AAX side of things, but I'm getting these (same) errors)...
c:\users\lindon\desktop\hise-scriptnode\juce\modules\juce_audio_plugin_client\a ax\juce_aax_wrapper.cpp(56): error C2065: 'AAX_SDK_2p3p0_REVISION': undeclared identifier [D:\Audio\ChannelRobot\AA HISE Work\Shapiro\Binaries\Builds\VisualSt udio2017\Shapiro_AAX.vcxproj] c:\users\lindon\desktop\hise-scriptnode\juce\modules\juce_audio_plugin_client\a ax\juce_aax_wrapper.cpp(75): fatal error C1083: Cannot open include file: 'AAX_ IDescriptionHost.h': No such file or directory [D:\Audio\ChannelRobot\AA HISE W ork\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
Perhaps I'm using too late a version of the AAX SDK?
For sure AAX_IDescriptionHost.h is nowhere in any path I can see....
-
@Lindon hmm, it looks something different.
-
@orange yeah ...time to call..
@Christoph-Hart any ideas?
-
Hey guys,
I slightly remember this issue... think I posted about it. try using an older AAX sdk -
@dustbro Yeah you are right.
My version: AAX SDK 2.3.1
-
@orange said in Problem compiling with AAX:
@dustbro Yeah you are right.
My version: AAX SDK 2.3.1
OK so where would I get an AAX SDK that works with HISE? - it sure aint Avid.