Duplicate symbols error for AU plugins


#1

I'm using the newest tip. I have the CoreAudio sdk downloaded. 

When i try to compile the audio plugin demo or the audio plugin skeleton that is created by introjucer i get the following:
 


​ld: 287 duplicate symbols for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)​

this is preceeded by by lots of stuff like this:

duplicate symbol __ZTI15MusicDeviceBase in:

    /Users/alexandergustafson/Library/Developer/Xcode/DerivedData/DiauproPlugin-hdmzjrfjzaedhmcgysczmsvdwhfd/Build/Intermediates/DiauproPlugin.build/Debug/DiauproPlugin.build/Objects-normal/x86_64/MusicDeviceBase-289FFFAA4B957B80.o

    /Users/alexandergustafson/Library/Developer/Xcode/DerivedData/DiauproPlugin-hdmzjrfjzaedhmcgysczmsvdwhfd/Build/Intermediates/DiauproPlugin.build/Debug/DiauproPlugin.build/Objects-normal/x86_64/MusicDeviceBase-468F86E0558BD178.o

compiling VST and VST3 without AU active works fine.


#2

You don't need to install any CoreAudio files any more, or refer to them in your project. They're magically handled inside juce itself - just use the latest introjucer to save your project and it'll sort everything out for you.


#3

Oh, magic! cool. 

I didn't get that memo.

Yes, works perfect again. Thank you.