HISE Logo Forum
    • Categories
    • Register
    • Login

    Problem compiling with AAX

    Scheduled Pinned Locked Moved Bug Reports
    54 Posts 8 Posters 3.6k 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 @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
                      • Dan KorneffD
                        Dan Korneff @Lindon
                        last edited by

                        @Lindon yeah, this is the exact same problem I had in another post. Here's the soloution:

                        This error can occur when you are statically linking your project with a library (typically a file with .lib extension) but the linker setting in your Visual Studio project are set to dynamically link (meaning the link will occur during runtime, usually with a .dll file).
                        To define that you need the project to use static linking start Visual Studio. In the Solution Explorer pane, right click the project name, and select Properties. Expand the properties as shown in the figure below: C/C++ --> Code Generation --> Runtime Library, select the Multi-threaded (/MT) option from the dropdown menu.

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                          @dustbro thanks Dan, to be clear I need to do this when I'm compiling the AAX plugin?

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon correct. You'll need to open the AAX solution in visual studio to make this change I believe. It's been a few minutes since I've compiled AAX

                            Dan Korneff - Producer / Mixer / Audio Nerd

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

                              @dustbro -- hey success! Thanks mate, I owe you one.

                              Now on to the xcode implementation......

                              HISE Development for hire.
                              www.channelrobot.com

                              Dan KorneffD lalalandsynthL 2 Replies Last reply Reply Quote 1
                              • ustkU
                                ustk
                                last edited by

                                @Lindon cool you've done it!
                                I just did on macOS yesterday and it works with no complication... Except that I didn't know the folder should be renamed "AAX", not "AAX SDK"...

                                Can't help pressing F5 in the forum...

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

                                  @ustk great, so just rename the folder AAX and select the xcode project - load it - build it and its done yes?

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon That worked for me ;)

                                    Can't help pressing F5 in the forum...

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

                                      @Lindon yay!!!!!

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey
                                        last edited by d.healey

                                        I'm just exploring AAX now. Do I understand correctly that you get the SDK for evaluation purposes only and you have to ask AVID for approval before you're allowed to release anything commercially?

                                        They want a decent amount of info! I don't think I'd be approved given that I license everything under GNU GPL.

                                        Your name, title and contact information
                                        Executive summary, including brief commentary on expected mutual benefits offered by the Alliance Partner program
                                        Schedule of proposed products for inclusion with retail pricing
                                        Weblinks to corporate web site and related products
                                        Overview of past experience with Avid customer base
                                        Description of prior collaborations with Avid and participation in developer programs, where applicable
                                        Narrative on market size and revenue potential for solutions proposed for program
                                        Overview of your testing and customer support capabilities
                                        Any additional data you wish to add, or questions you have for the Alliance Partner Team

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

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

                                          @d-healey its WAAAAY more complicated than that.

                                          You have to sign up to Avid - yes you have to tell them everything they want.

                                          You have to become an approved developer, then you can use the SDK to build AAX plug-ins, BUT...

                                          they wont load in the commercial release of Pro-tools, you will need to digitally sign them (on each platform, and then get teem licensed thru PACE - you will need an iLok and you will need to sign up with them and it will take time .. are you sure you want to do this?

                                          HISE Development for hire.
                                          www.channelrobot.com

                                          d.healeyD Dan KorneffD 2 Replies Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey @Lindon
                                            last edited by

                                            @Lindon I have no desire to do any of that :p I have an iLok already, it's about 10 years old though so I don't know if that would be usable any more. I've had two customers who have bought my products only to discover they can't load them in pro-tools. So if I can supply AAX I'd like to. I can't find any information though on if I can license my plugin as GPL. I don't think I can technically for VST2 either for that matter...

                                            Libre Wave - Freedom respecting instruments and effects
                                            My Patreon - HISE tutorials
                                            YouTube Channel - Public HISE tutorials

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

                                            19

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.1k

                                            Posts