Look at your screen shot, it shows Quick Fix, which you click for a suggestion, but not necessarily the best solution.
Agreed, having to use a define in your source file is less desirable, but put a comment near it explaining it’s an imperfect workaround, and life goes on.
I normal just work with vi and command line, I find VS code setup confusing.
But the two lines to create static ReverbSc and Tone variables are failing, explaining that the identifiers are undefined. From my inexperienced perspective this looks like an include problem, but not sure how to fix as both types are described in the daisysp API docs (so are presumably included with daisysp.h). Appreciate any suggestions. Being new to C++ obviously doesn’t help…
I have the relevant using namespace lines (in the original code)
It occurs to me that rather than a code issue (assuming the examples all work) it is more likely a configuration issue. I followed your " How to Set Up Your C++ Development Environment" but wondering if I’m missing something? Have I properly built the libraries? Does task “build all” build everything needed, even when just in a particular example directory?
@Brogan So I haven’t this completely figured out.
Adding the following line at the top of my .cpp file did partly resolve the issue with the VS Code language sever:
#define USE_DAISYSP_LGPL 1
I’ll be hacking in on this today, so feel free to hit me up on the Discord server. Maybe we can pair-program our way through this. This is my username: monsieur_caillou
Thanks, I’ll have a go at those two options. I’d take up your Discord offer (appreciated!) but suspect we may be in different time zones. I’m in Australia and its mid-evening here.
Ok, I got the MultiEffects example within the pod directory to work. It was missing the following include:
#include “daisysp-lgpl.h”
That enabled me to include ReverbSc and Tone.
I figured this out by rewriting the types to check the auto-complete options. Those two classes were not available so I went looking through DaisySP directory to find the header files. I found them in the DaisySP-LGPL directory.