Re: SevenDelay
Posted: Mon Oct 14, 2019 8:27 pm
yes...
Thanks ryukau. I installed liblo but now I have another fail (extracts from code... wich is very long) :ryukau wrote:Hi, stanlea.
It looks like liblo is missing on your system. What distribution are you using?
Package name is `liblo-dev` for Debian/Ubuntu, `liblo liblo-devel` for Fedora.
Code: Select all
parameter.hpp:295:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return 0.0;
^~~~~
parameter.hpp:295:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return 0.0;
^~~~~
valloc
parameter.hpp:296:5: error: ‘value’ was not declared in this scope
value[index]->setFromRaw(raw);
^~~~~
parameter.hpp:296:5: note: suggested alternative: ‘valloc’
value[index]->setFromRaw(raw);
^~~~~
valloc
parameter.hpp: In member function ‘double GlobalParameter::updateValue(uint32_t, float)’:
parameter.hpp:302:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return 0.0;
^~~~~
parameter.hpp:302:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return 0.0;
^~~~~
valloc
parameter.hpp:303:5: error: ‘value’ was not declared in this scope
value[index]->setFromNormalized(normalized);
^~~~~
parameter.hpp:303:5: note: suggested alternative: ‘valloc’
value[index]->setFromNormalized(normalized);
^~~~~
valloc
In file included from plugin.cpp:26:0:
dsp/dspcore.hpp: At global scope:
dsp/dspcore.hpp:176:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector<float> transitionBuffer{};
^~~~~~
plugin.cpp:170:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector<std::pair<uint8_t, uint32_t>> lastNoteId;
^~~~~~
plugin.cpp:171:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector<uint8_t> alreadyRecievedNote;
^~~~~~
dsp/../parameter.hpp: In member function ‘void GlobalParameter::initParameter(uint32_t, DISTRHO::Parameter&)’:
dsp/../parameter.hpp:277:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return;
^~~~~
plugin.cpp: In constructor ‘DISTRHO::SyncSawSynth::SyncSawSynth()’:
plugin.cpp:36:5: error: ‘lastNoteId’ was not declared in this scope
lastNoteId.reserve(dsp.maxPoly() + 1);
^~~~~~~~~~
dsp/../parameter.hpp:277:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return;
^~~~~
valloc
dsp/../parameter.hpp:278:5: error: ‘value’ was not declared in this scope
value[index]->setParameterRange(parameter);
^~~~~
dsp/../parameter.hpp:278:5: note: suggested alternative: ‘valloc’
value[index]->setParameterRange(parameter);
^~~~~
valloc
dsp/../parameter.hpp: In member function ‘double GlobalParameter::getParameterValue(uint32_t) const’:
dsp/../parameter.hpp:283:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return 0.0;
^~~~~
dsp/../parameter.hpp:283:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return 0.0;
^~~~~
valloc
dsp/../parameter.hpp:284:12: error: ‘value’ was not declared in this scope
return value[index]->getRaw();
^~~~~
dsp/../parameter.hpp:284:12: note: suggested alternative: ‘valloc’
return value[index]->getRaw();
^~~~~
valloc
dsp/../parameter.hpp: In member function ‘void GlobalParameter::setParameterValue(uint32_t, float)’:
dsp/../parameter.hpp:289:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return;
^~~~~
plugin.cpp:36:5: note: suggested alternative: ‘noteId’
lastNoteId.reserve(dsp.maxPoly() + 1);
^~~~~~~~~~
noteId
plugin.cpp:37:5: error: ‘alreadyRecievedNote’ was not declared in this scope
alreadyRecievedNote.reserve(dsp.maxPoly());
^~~~~~~~~~~~~~~~~~~
dsp/../parameter.hpp:289:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return;
^~~~~
valloc
dsp/../parameter.hpp:290:5: error: ‘value’ was not declared in this scope
value[index]->setFromRaw(raw);
^~~~~
dsp/../parameter.hpp:290:5: note: suggested alternative: ‘valloc’
value[index]->setFromRaw(raw);
^~~~~
valloc
dsp/../parameter.hpp: In member function ‘double GlobalParameter::parameterChanged(uint32_t, float)’:
dsp/../parameter.hpp:295:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return 0.0;
^~~~~
dsp/../parameter.hpp:295:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return 0.0;
^~~~~
valloc
dsp/../parameter.hpp:296:5: error: ‘value’ was not declared in this scope
value[index]->setFromRaw(raw);
^~~~~
dsp/../parameter.hpp:296:5: note: suggested alternative: ‘valloc’
value[index]->setFromRaw(raw);
^~~~~
valloc
dsp/../parameter.hpp: In member function ‘double GlobalParameter::updateValue(uint32_t, float)’:
dsp/../parameter.hpp:302:18: error: ‘value’ was not declared in this scope
if (index >= value.size()) return 0.0;
^~~~~
dsp/../parameter.hpp:302:18: note: suggested alternative: ‘valloc’
if (index >= value.size()) return 0.0;
^~~~~
valloc
dsp/../parameter.hpp:303:5: error: ‘value’ was not declared in this scope
value[index]->setFromNormalized(normalized);
^~~~~
dsp/../parameter.hpp:303:5: note: suggested alternative: ‘valloc’
value[index]->setFromNormalized(normalized);
^~~~~
valloc
plugin.cpp: In member function ‘void DISTRHO::SyncSawSynth::handleMidi(DISTRHO::MidiEvent)’:
plugin.cpp:113:11: error: ‘lastNoteId’ was not declared in this scope
lastNoteId.begin(), lastNoteId.end(),
^~~~~~~~~~
plugin.cpp:113:11: note: suggested alternative: ‘noteId’
lastNoteId.begin(), lastNoteId.end(),
^~~~~~~~~~
noteId
plugin.cpp:123:37: error: ‘alreadyRecievedNote’ was not declared in this scope
for (const auto ¬eNo : alreadyRecievedNote) {
^~~~~~~~~~~~~~~~~~~
plugin.cpp:127:11: error: ‘lastNoteId’ was not declared in this scope
lastNoteId.push_back(std::pair<uint8_t, uint32_t>(ev.data[1], noteId));
^~~~~~~~~~
In file included from dsp/dspcore.cpp:18:0:
dsp/dspcore.hpp: At global scope:
dsp/dspcore.hpp:176:8: error: ‘vector’ in namespace ‘std’ does not name a template type
std::vector<float> transitionBuffer{};
^~~~~~
dsp/dspcore.cpp: In member function ‘void Note<Sample>::setup(int32_t, Sample, Sample, Sample, GlobalParameter&)’:
dsp/dspcore.cpp:56:13: error: ‘struct GlobalParameter’ has no member named ‘value’
if (param.value[ParameterID::osc1PhaseLock]->getRaw())
^~~~~
dsp/dspcore.cpp:57:25: error: ‘struct GlobalParameter’ has no member named ‘value’
saw1.setPhase(param.value[ParameterID::osc1Phase]->getRaw());
Indeed it works now. Both plugins load fine in Carla (including GUI). My first impression is that the sound is very good. Althought I suck at programming synths, I found the syncsaw very dynamic.ryukau wrote:I've fixed it in this morning. Try `git pull` then build again.
`#include <vector>` was missing at the top of parameter.hpp. I'm not sure why this was successfully compiled while developing.
Code: Select all
// Delete this line.
// #define DISTRHO_PLUGIN_URI "https://github.com/ryukau/LV2Plugins/tree/master/<PluginName>"
// Add this line.
#define DISTRHO_PLUGIN_URI "https://example.com/<PluginName>"
Code: Select all
IPlugView *PLUGIN_API PlugController::createView(const char *name)
{
#ifndef LINUX // Remove this line to turn on GUI on Linux.
if (name && strcmp(name, "editor") == 0) {
auto plugEditor = new Vst::PlugEditor(this);
plugEditor->remember();
editor.push_back(plugEditor);
return plugEditor;
}
#endif // Remove this line to turn on GUI on Linux.
return 0;
}