Hi, i’m currently trying to compile a program on MacOS. I’ve initially written this program on Windows and it perfectly works. To compile it on Mac I’m using XCode 2.3.
After a moment i succeed in the compilation step but I still have an error at Linking that I don’t understand.
Here is this error:
/usr/bin/ld: Undefined symbols:
juce::ResizableWindow::addAndMakeVisible(juce::Component*, int)
/Users/davidgros/Desktop/baptiste/PartitionTestJuceMac/PartitionTestJuce/build/PartitionTestJuce.build/Release/Test.build/Objects-normal/ppc/MainWindow.o reference to undefined juce::ResizableWindow::addAndMakeVisible(juce::Component*, int)
collect2: ld returned 1 exit status
/usr/bin/ld: Undefined symbols:
juce::ResizableWindow::addAndMakeVisible(juce::Component*, int)
/Users/davidgros/Desktop/baptiste/PartitionTestJuceMac/PartitionTestJuce/build/PartitionTestJuce.build/Release/Test.build/Objects-normal/ppc/MainWindow.o reference to undefined juce::ResizableWindow::addAndMakeVisible(juce::Component*, int)
collect2: ld returned 1 exit status
So this error comes because I’m calling the addAndMakeVisible() function in a ResizableWindow object, but why the linking step failed ? (I precise that i’ve compiled and then run successfully The Juce Demo application on Mac).
Do you know how can I solve this problem ?
Thanks.
Bouba
PS: Sorry if it’s difficult to understand me, I’m french