Hello,

When attempting to run the resonant-lowpass example from Lecture 8 in the video series, I get the following error: Makefile:595: recipe for target 'runide' failed

Accompanied by:
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted
make: *** [runide] Error 134

I am running the up to date build and all other examples work smoothly. I have scrutinized my code for typos. I can't work out what else it could be. Would be grateful for your help.

    venusexmachina Makefile:595: recipe for target 'runide' failed

    this is a generic error that means that the program failed while running.
    The real error message is this:

    venusexmachina Accompanied by:
    terminate called after throwing an instance of 'std::out_of_range'
    what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
    Aborted
    make: *** [runide] Error 134

    which indicates an out-of-bounds access on a std::vector that is being accessed with at() (access with [ ] wouldn't throw an exception). The code as provided runs on the course runs fine for me, is that the case for you, too?

    Hello Giulio,

    Thank you for your reply. Yes, I have confirmed that the code as provided runs fine. So it must be something I typed...?

    that would seem to be the most likely issue, yes. std::vector<>::at() is used in the GuiController library. Maybe you are calling getSlider() or getSliderValue() with an argument larger than the number of slides you created? You need to call addSlider() in setup() for each slider you want to have and use the value returned by addSlider() to access the slider later on.