SOLVED :: CASCADING tutorial issue

Guys anyone has a working example of the CASCADE tutorial, but the Standalone app version ?? cause it throw me 2 error :

1*
mainProcessor->removeNode (slot);
throws:

No matching member function for call to ‘removeNode’

2*
slots.set (i, mainProcessor->addNode (new OscillatorProcessor()));
throws:

` No viable conversion from ‘Node::Ptr’ (aka ‘ReferenceCountedObjectPtrjuce::AudioProcessorGraph::Node’) to 'juce::AudioProcessorGraph::Node *

Anyone knows why ???

I am trying to understand how to use the AudioGraphProcessor … ? if you have a good and working example l then it would be appreciated

try:

 mainProcessor->removeNode (slot.get());

https://docs.juce.com/master/classReferenceCountedObjectPtr.html#a037e4492f3c48d4f40b1d626a1d29682

Rail

perfect I changed it this way

 mainProcessor->removeNode (slot.get());
                  
                }
                slots.set (i, mainProcessor->addNode (new GainProcessor()).get()); 

and it work perfectly … Thank you a lot… How do we tell them to update it ?

Thanks, we’ll get that fixed.