SineOscillator.hpp: No such file or directory compilation terminated

Hello,

I’m trying to use the SineOscillator object in my patch like in the OscillatorTestPatch.hpp patch. I’ve included both Patch.h and SineOscillator.hpp at the of the file. But when I compile I get this error:

SineOscillator.hpp: No such file or directory compilation terminated

I can’t see anything else that OscillatorTestPatch.hpp is doing that I’m not doing, so I’m at a loss. Any help would be greatly appreciated. Thanks!

Aha, so I just had to change #include "SineOscillator.hpp" to #include "SineOscillator.h"

Not sure why the former works for the OscillatorTestPatch.hpp. Perhaps it doesn’t, perhaps my mistake was in assuming the other patch actually compiles… ¯_(?)_/¯

You’re right, I think the patch needs updating: I’ll let Giulio know.

We’re talking about this patch, right?

https://hoxtonowl.com/patch-library/patch/SineOscillator_showcase/

Yeah that’s the one