Hi all,
Excited to be finally making the leap into ‘real’ software programming!
I’ve been able to compile and run the GUI app helloworld on the same system that when I intend to build from scratch following the MainComponent tutorial (https://docs.juce.com/master/tutorial_main_component.html) I then get linking errors.
I can’t understand what I’ve done wrong, but it must be something simple, because`it’s literally as simple as a JUCE GUI app gets!
If anyone can figure out what the dumb mistake is, I’d be very grateful. Thank you!
This is the error I get:
build/intermediate/Debug/Main_90ebc5c2.o: in function `MainWindowTutorialApplication::MainWindow::MainWindow(juce::String)':
/home/arif/JUCE Projects/MainWindowTutorial/Builds/LinuxMakefile/../../Source/Main.cpp:66: undefined reference to `MainComponent::MainComponent()'
collect2: error: ld returned 1 exit status
Here is my code:
Main.cpp
MainComponent.cpp
MainComponent.h
Note: deleted source code because it’s fine

