Link error in juce 1.45


#1

I’m recompiling an older product under Leopard, XCode 3.0 and juce 1.45. The development version works fine, but I’m getting link errors in the release version. It’s probably something in my settings, but I’m not sure what to change. For what it’s worth, these all seem to come from the linking of the ppc binary.

The errors look like this:
Undefined symbols:
"_opendir$UNIX2003", referenced from:
juce::juce_findFileStart(juce::String const&, juce::String const&, juce::String&, bool*, bool*, long long*, juce::Time*, juce::Time*, bool*)in libjuce.a(juce_mac_Files.o)
"_fnmatch$UNIX2003", referenced from:
juce::FindFileStruct::getNextMatch(juce::String&, bool*, bool*, long long*, juce::Time*, juce::Time*, bool*)in libjuce.a(juce_mac_Files.o)
"_HIViewIsCompositingEnabled", referenced from:
juce::HIViewComponentPeer::ownerWindowChanged(OpaqueEventRef*) in libjuce.a(juce_mac_Windowing.o)
"_strftime$UNIX2003", referenced from:
juce::CharacterFunctions::ftime(char*, int, char const*, tm const*)in libjuce.a(juce_CharacterFunctions.o)
"_pthread_cond_init$UNIX2003", referenced from:
juce::WaitableEvent::WaitableEvent()in libjuce.a(juce_mac_Threads.o)
"_open$UNIX2003", referenced from:
juce::InterProcessLock::InterProcessLock(juce::String const&)in libjuce.a(juce_mac_Threads.o)
"_OSAtomicAdd32", referenced from:
juce::ImageCache::getFromHashCode(long long)in libjuce.a(juce_ImageCache.o)


#2

hmm… Don’t know. It really just looks like some libraries are missing, though can’t think why. So it builds ok if you just do an intel build?


#3