HISE Logo Forum
    • Categories
    • Register
    • Login

    Problem compiling with AAX

    Scheduled Pinned Locked Moved Bug Reports
    54 Posts 8 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon @Dan Korneff
      last edited by

      @dustbro oh no I didnt - how do I go about doing that?

      HISE Development for hire.
      www.channelrobot.com

      1 Reply Last reply Reply Quote 0
      • orangeO
        orange @Lindon
        last edited by orange

        @Lindon
        You need to create .lib files on your own using the AAX SDK Solution file for Mac and Windows separately.

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @orange
          last edited by Lindon

          @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?

          HISE Development for hire.
          www.channelrobot.com

          orangeO 1 Reply Last reply Reply Quote 0
          • orangeO
            orange @Lindon
            last edited by orange

            @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.lib

            While 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 ;)

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @orange
              last edited by Lindon

              @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

              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

              HISE Development for hire.
              www.channelrobot.com

              orangeO 1 Reply Last reply Reply Quote 0
              • orangeO
                orange @Lindon
                last edited by

                @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.

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @orange
                  last edited by

                  @orange well it not in that folder - which folder should it be in?

                  HISE Development for hire.
                  www.channelrobot.com

                  orangeO 1 Reply Last reply Reply Quote 0
                  • orangeO
                    orange @Lindon
                    last edited by

                    @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

                    develop Branch / XCode 13.1
                    macOS Monterey / M1 Max

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @orange
                      last edited by

                      @orange yes -- sorry but I also said - but tio be clear: there is nothing in the folder

                      tools\SDK\AAX\Libs\Release\

                      HISE Development for hire.
                      www.channelrobot.com

                      LindonL 1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Lindon
                        last edited by

                        @Lindon

                        OK so I tried again and now its failing to build in VS2017.. hang on I'll look for the problem.

                        HISE Development for hire.
                        www.channelrobot.com

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Lindon
                          last edited by Lindon

                          @Lindon

                          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)

                          HISE Development for hire.
                          www.channelrobot.com

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @Lindon
                            last edited by

                            @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 No

                            This is Avid not updating their lib past VS2013.....

                            Thanks for your help @orange

                            HISE Development for hire.
                            www.channelrobot.com

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Lindon
                              last edited by

                              @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....

                              HISE Development for hire.
                              www.channelrobot.com

                              orangeO 1 Reply Last reply Reply Quote 0
                              • orangeO
                                orange @Lindon
                                last edited by

                                @Lindon hmm, it looks something different.

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

                                LindonL 1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @orange
                                  last edited by Lindon

                                  @orange yeah ...time to call..

                                  @Christoph-Hart any ideas?

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  1 Reply Last reply Reply Quote 0
                                  • Dan KorneffD
                                    Dan Korneff
                                    last edited by

                                    Hey guys,
                                    I slightly remember this issue... think I posted about it. try using an older AAX sdk

                                    Dan Korneff - Producer / Mixer / Audio Nerd

                                    orangeO 1 Reply Last reply Reply Quote 0
                                    • orangeO
                                      orange @Dan Korneff
                                      last edited by

                                      @dustbro Yeah you are right.

                                      My version: AAX SDK 2.3.1

                                      develop Branch / XCode 13.1
                                      macOS Monterey / M1 Max

                                      LindonL 1 Reply Last reply Reply Quote 0
                                      • LindonL
                                        Lindon @orange
                                        last edited by

                                        @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.

                                        HISE Development for hire.
                                        www.channelrobot.com

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          VHO
                                          last edited by VHO

                                          @Lindon said in Problem compiling with AAX:

                                          @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.

                                          I have 3 versions of AAX SDK from 2.2.2 to 2.3.2 in my account including the 2.3.1 version. Just available in my toolkits and downloads, so I expect it to be same for you? Avid usually gives few versions...Hope that helps

                                          Why so many samples.... ok ... I still need more :D

                                          LindonL 1 Reply Last reply Reply Quote 0
                                          • LindonL
                                            Lindon @VHO
                                            last edited by

                                            @VHO you entirely correct, silly me for missing them over on the right side of the page..

                                            so I downloaded V2.3.1 (the same as @orange) and compiled it - I got a .lib file fine, then I went into HISE and tried to compile a plug-in now I get these errors:

                                            AAXLibrary_x64.lib(AAX_CEffectParameters.obj) : error LNK2038: mismatch detecte
                                            d for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Stati
                                            cRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                             HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_Init.obj) : error LNK2038: mismatch detected for 'Runtim
                                            eLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in
                                            include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE Work\Sh
                                            apiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CParameter.obj) : error LNK2038: mismatch detected for '
                                            RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticReleas
                                            e' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE W
                                            ork\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_IEffectGUI.obj) : error LNK2038: mismatch detected for '
                                            RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticReleas
                                            e' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE W
                                            ork\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_IEffectParameters.obj) : error LNK2038: mismatch detecte
                                            d for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Stati
                                            cRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                             HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CACFUnknown.obj) : error LNK2038: mismatch detected for
                                            'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelea
                                            se' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE
                                            Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CEffectGUI.obj) : error LNK2038: mismatch detected for '
                                            RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticReleas
                                            e' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE W
                                            ork\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CParameterManager.obj) : error LNK2038: mismatch detecte
                                            d for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Stati
                                            cRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                             HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CPacketDispatcher.obj) : error LNK2038: mismatch detecte
                                            d for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Stati
                                            cRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                             HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CString.obj) : error LNK2038: mismatch detected for 'Run
                                            timeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease'
                                            in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE Work
                                            \Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_CChunkDataParser.obj) : error LNK2038: mismatch detected
                                             for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Static
                                            Release' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                            HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VController.obj) : error LNK2038: mismatch detected for
                                            'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelea
                                            se' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE
                                            Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VCollection.obj) : error LNK2038: mismatch detected for
                                            'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelea
                                            se' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE
                                            Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VPropertyMap.obj) : error LNK2038: mismatch detected for
                                             'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRele
                                            ase' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE
                                             Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VDescriptionHost.obj) : error LNK2038: mismatch detected
                                             for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Static
                                            Release' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                            HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VEffectDescriptor.obj) : error LNK2038: mismatch detecte
                                            d for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_Stati
                                            cRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA
                                             HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VComponentDescriptor.obj) : error LNK2038: mismatch dete
                                            cted for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_St
                                            aticRelease' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot
                                            \AA HISE Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            AAXLibrary_x64.lib(AAX_VFeatureInfo.obj) : error LNK2038: mismatch detected for
                                             'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRele
                                            ase' in include_juce_audio_plugin_client_AAX.obj [D:\Audio\ChannelRobot\AA HISE
                                             Work\Shapiro\Binaries\Builds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                                 Creating library .\..\..\Compiled\AAX\Shapiro x64.lib and object .\..\..\C
                                              ompiled\AAX\Shapiro x64.exp
                                            LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; u
                                            se /NODEFAULTLIB:library [D:\Audio\ChannelRobot\AA HISE Work\Shapiro\Binaries\B
                                            uilds\VisualStudio2017\Shapiro_AAX.vcxproj]
                                            .\..\..\Compiled\AAX\\Shapiro x64.aaxdll : fatal error LNK1319: 18 mismatches d
                                            etected [D:\Audio\ChannelRobot\AA HISE Work\Shapiro\Binaries\Builds\VisualStudi
                                            o2017\Shapiro_AAX.vcxproj]
                                            

                                            -- which seem to be 18 of these:

                                            value 'MD_DynamicRelease' doesn't match value 'MT_StaticRele
                                            ase'

                                            HISE Development for hire.
                                            www.channelrobot.com

                                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            11

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.2k

                                            Posts