totally new here. My first of what may be a series of newbie questions. I’m just getting back into C++, after some time (last I tinkered with it was in undergrad where there basically wasn’t things such as classes and objects, that should date me!). I can write command line apps like mad…
So I am working on a exploratory plug in project with another audio pro friend. He’s the DSP math guy, I am trying to come up with a GUI for him - of course he uses a different API for the DSP core. So I came across juce, and am impressed (and a bit intimidated) and have been messing with the Jucer and Introjucer and can get some basic things going.
But I’ve started tinkering with trying to put some “juce” into his things (that are not templated in the Introjucer) and am completely stuck. I’m taking a methodical approach to it, so at this point I am just trying to get a basic editor window to pop up with a slider - figuring if I can get that to work I’ll move on to more difficult things. Here’s my question (illustrated by a code snippet, generated by Jucer and copied verbatim, which is how I’d like to generate the GUI).
: slider (0)
addAndMakeVisible (slider = new Slider (“new slider”));
slider->setRange (0, 10, 0);
slider->setTextBoxStyle (Slider::TextBoxLeft, false, 80, 20);
So I have made a class called BlankWindow that is of AudioProcessorEditor in the header file.
I get this error when I try to compile:
error C2512: ‘juce::AudioProcessorEditor’ : no appropriate default constructor available
I’m sure this is a silly question and I suspect that it demonstrates a fundamental lack of chops with c++ (sigh). Any guidance appreciated, and thanks for your patience.