Making an audio App in JUCE using Max Gen~ export code

Setting to:

#include "../JuceLibraryCode/JuceHeader.h"

Doesn’t solve the thing. I know that MainContentComponent is a user class with an object AudioAppComponent, which in fact JUCE class. I don’t understand, why Xcode compiler keep asking to enter a class name. For some reason it doesn’t see JUCE classes, maybe I should #include other objects as well?

Setting class name to:

class MainContentComponent : public Component, Slider::Listener

removes the first error but this way I’m unable to use AudioAppComponent methods, which I need for my application.

So here is the solution to a first problem:

AudioAppComponent