Good morning from Germany, I have currently an issue with the MainComponent Tutorial. It says I shall include the MainComponent.h to Main.cpp. However the compiler says that the header file cannot be found:
This is really simple for you probably but I spend more than an hour to figure the issue here out without success. Kind regards, and happy weekend, Boris
Good morning from Austria can you show us your line of code where you try to include the header file? Make sure you also include the MainComponent directory in that path
Hi Daniel, thanks for response:
#include “…/JuceLibraryCode/JuceHeader.h”
#include “MainComponent.h”
I assumed there might be a path thing and have tried “…/MainComponent.h” or “…/…/MainComponent.h” yet. Regards
You have to add the directory where your files are in. MainComponent/MainComponent.h
Hi Daniel, thanks. Simple like that it seems