example_project_for_Mac does not compile


#1

Checkout the latest rev from the svn server but example_project_for_Mac does not compile. Any ideas?

Line Location Tool:0: collect2: ld returned 1 exit status
Line Location Tool:0: symbol(s) not found
Line Location Tool:0: juce::juce_setKioskComponent(juce::Component*, bool, bool)in juce_LibrarySource.o
Line Location Tool:0: juce::juce_setKioskComponent(juce::Component*, bool, bool)in juce_LibrarySource.o
Line Location Tool:0: “_SetSystemUIMode”, referenced from:
Line Location Tool:0: collect2: ld returned 1 exit status
Line Location Tool:0: symbol(s) not found
Line Location Tool:0: juce::juce_setKioskComponent(juce::Component*, bool, bool)in juce_LibrarySource.o
Line Location Tool:0: juce::juce_setKioskComponent(juce::Component*, bool, bool)in juce_LibrarySource.o
Line Location Tool:0: “_SetSystemUIMode”, referenced from:


#2

That’s a Carbon function, so it’ll link OK if you add the Carbon framework.

Don’t know why Carbon is needed anymore, though. Maybe that function doesn’t exist in Cocoa.


#3

That just means there are still few carbon code in juce


#4

There’s a note above the use of that function to explain this - there’s no cocoa equivalent, but according the the docs, that function is still available in a 64-bit build.