Strange linker problem


#1

I’m building a plugin with JAP and I’ve got the VST version compiling successfully, but I’m having trouble with the AU version. Specifically, I get an undefined symbol error on the symbol:

__Z45juce_setCurrentExecutableFileNameFromBundleIdRKN4juce6StringE

Which, in its unmangled form is:

juce_setCurrentExecutableFileNameFromBundleId(juce::String const&)

This method should exist. It’s in the juce file:
build/macosx/platform_specific_code/juce_mac_Files.cpp

And when I check the symbols from libjuce.a I see:

[n8gray@golux JuceAudioPlugin]$ nm -a ~/src/music/juce/bin/libjuce.a | grep juce_setCurrentExecutableFileNameFromBundleId
000034e8 S _ZN4juce45juce_setCurrentExecutableFileNameFromBundleIdERKNS_6StringE.eh
00001404 T __ZN4juce45juce_setCurrentExecutableFileNameFromBundleIdERKNS_6StringE

So it looks like maybe the names are being mangled differently. Any thoughts on how to solve this problem? :?

Cheers,
-n8


#2

Ah yes, sorry:
http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1694&highlight=jucesetcurrentexecutablefilenamefrombundleid


#3

[quote=“jules”]Ah yes, sorry:
http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1694&highlight=jucesetcurrentexecutablefilenamefrombundleid[/quote]

I did actually google a bit, but of course I should have searched the forums here before asking…

Thanks!
-n8


#4