Issue with custom class using ProcessorChain of DSP module

Hi all,
I want to create a custom class using the DSP module, where the processing is done through a ProcessorChain consisting of the processor of the class plus a gain.

juce::dsp::ProcessorChain<MyClass<Type>, juce::dsp::Gain<Type>> myClassProcessorChain;

This instruction gives the error

Field has incomplete type 'juce::dsp::ProcessorChain<MyClass<float>, juce::dsp::Gain<float> >' (aka 'ChainBase<true, MyClass<float>, juce::dsp::Gain<float> >')

I can’t figure out what I am doing wrong. I have created the class inheriting from the dsp::ProcessorBase

template <typename Type>
class MyClass : public dsp::ProcessorBase
{
public:
    MyClass()

Im kinda stuck on something similar… Did you ever find a solution to this?

This is most likely based on some wrong template syntax or code structure so that the compiler fails to parse all the templated stuff.

As this could be nearly anything, it would be best if you showed us the relevant part of your code (your own class definition, the declaration of the ProcessorChain and maybe some outline of the whole project structure, e.g. where which piece of code gets declared)