I hate to bring this to the forum, but at the risk of clearly advertising my limited C++ experience, I’ve spent a day on this, and I’m sure its a trivial problem…
I’m trying to create a class that inherits AudioIODeviceCallback class.
I’ve simplified this down to the bone, but still can’t get rid of the compile-time error:
Ok, that did it.
I don’t see that in any of the examples, so I guess somewhere up above they must have had “using namespace juce;” that I didn’t notice…
Thanks very much.
In modern C++ you generally try to avoid putting global using namespace directives into headers (this also goes for using namespace std. Instead just qualify types with their namespace or narrow down the scope of using directives to e.g. function bodies or certain .cpp files.
The reason for this is that bypassing namespaces globally this way conflicts with the idea of namespaces which is to avoid symbol name clashes