Trouble linking some of the necessary UI libs?


#1

I'm on Mac OS/XCode 4.6.3

 

I'm getting some linking errors and am baffled because I am linking all the necessary libraries. I built the initial version using the Introjucer and am on JUCE 2.1.3. Any ideas?

 

Undefined symbols for architecture i386:
  "juce::Label::setText(juce::String const&, bool)", referenced from:
      MusisticAudioProcessorEditor::buttonClicked(juce::Button*) in PluginEditor.o
  "juce::Graphics::setColour(juce::Colour const&)", referenced from:
      MusisticAudioProcessorEditor::paint(juce::Graphics&) in PluginEditor.o
  "juce::Component::setColour(int, juce::Colour const&)", referenced from:
      MusisticAudioProcessorEditor::MusisticAudioProcessorEditor(MusisticAudioProcessor*) in PluginEditor.o
      MusisticAudioProcessorEditor::buttonClicked(juce::Button*) in PluginEditor.o
  "juce::Graphics::drawFittedText(juce::String const&, int, int, int, int, juce::Justification const&, int, float) const", referenced from:
      MusisticAudioProcessorEditor::paint(juce::Graphics&) in PluginEditor.o
  "juce::Graphics::fillAll(juce::Colour const&) const", referenced from:
      MusisticAudioProcessorEditor::paint(juce::Graphics&) in PluginEditor.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

#2

It looks like you've not added the juce_gui_basics module to your introjucer project?


#3

I've got juce_gui_basics and juce_gui_extras in there.


#4

Strange, I updated the project to only generate an AU instead of VST and AU and it worked fine. I'll investigate more about what's going on later today.