Enable Host Formats (juce_audio_processors) breaks VST3 build

Fabian, thanks, the VST linking error is fixed

the AAX linking is not:

http://pastebin.com/3H8aVKY7

This happens when enabling both VST3 & AAX

Just tested everything the AAX linking is broken on latest tip

Step by step process to reproduce it:

  • Create a new audio plugin project with the freshly compiled ProJucer
  • Enable VST3 and AAX, Disable AU.
  • Enable the JUCE_Host flags on the juce_audio_processors
  • Set the correct absolute paths to the SDKS on the XCode config
  • press Save and open in iDE
  • press build on xcode

you will get this:

http://pastebin.com/ccw735Tv

reproduced it on both macs without possible workarounds as all that is black magic

Confirmed just tested on a third mac and AAX linking also fails there

I think you will find that you are compiling with different C++ versions in your AAX library and your project.

If you can use C++11 then you will need the OS X Deployment Target set to 10.7 or higher, C++ Library set to LLVM libc++, and you will need to replace libAAXLibrary.a with a symlink to libAAXLibrary_libcpp.a.

Otherwise you need to make sure that libAAXLibrary.a isn’t a symlink, that it is an original build, and that you are linking to GNU libstdc++.

Hope that helps.

1 Like

@anthony-nicholls: This compiles perfectly fine when only AAX target is enabled, the issue is related to how juce links and creates project structures when more than one format is enabled on the ProJucer.

1 Like

Once again, I can’t seem to reproduce this. Can you check that I’m doing everything correctly:

(btw: downloading the above video will d/l the original video which has a higher resolution)