Giter Site home page Giter Site logo

jlmod's People

Contributors

joakimlindbom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jlmod's Issues

Sources does not compile on Windows 10

$ RACK_DIR=C:/msys64/Rack-SDK make dist
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/clock.cpp.o src/clock.cpp
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/common.cpp.o src/common.cpp
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/debugexpander.cpp.o src/debugexpander.cpp
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/JLmod.cpp.o src/JLmod.cpp
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/Ratchets.cpp.o src/Ratchets.cpp
src/Ratchets.cpp: In member function 'void Ratchets::setIndex(int)':
src/Ratchets.cpp:319:7: warning: unused variable 'numSteps' [-Wunused-variable]
319 | int numSteps = MAX_SEQUENCER_STEPS; // (int) clamp(roundf(params[STEPS_PARAM].getValue() + inputs[STEPS_INPUT].getVoltage()), 1.0f, 8.0f);
| ^~~~~~~~
src/Ratchets.cpp: In member function 'virtual void Ratchets::process(const rack::engine::Module::ProcessArgs&)':
src/Ratchets.cpp:590:14: warning: unused variable 'warningFlashState' [-Wunused-variable]
590 | bool warningFlashState = true;
| ^~~~~~~~~~~~~~~~~
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/RatchetsWidget.cpp.o src/RatchetsWidget.cpp
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/Timers.cpp.o src/Timers.cpp
src/Timers.cpp:26:5: error: 'SchmittTrigger' does not name a type
26 | SchmittTrigger resetTrigger;
| ^~~~~~~~~~~~~~
src/Timers.cpp: In constructor 'Timer::Timer()':
src/Timers.cpp:29:9: error: 'resetTrigger' was not declared in this scope
29 | resetTrigger.process(rescale(0.0f, 0.0f, 0.01f, 0.f, 1.f));
| ^~~~~~~~~~~~
src/Timers.cpp: In member function 'void Timer::setTime(float)':
src/Timers.cpp:35:27: error: 'engineGetSampleRate' was not declared in this scope; did you mean 'setSampleRate'?
35 | setSampleRate(engineGetSampleRate());
| ^~~~~~~~~~~~~~~~~~~
| setSampleRate
src/Timers.cpp: In member function 'void Timer::setStride(int)':
src/Timers.cpp:42:15: error: 'debug' is not a member of 'rack'
42 | rack::debug("setStride %d - %f", steps, TimeStep);
| ^~~~~
src/Timers.cpp: In member function 'void Timer::setSampleRate(float)':
src/Timers.cpp:47:15: error: 'debug' is not a member of 'rack'
47 | rack::debug("setSampleRate %f", TimeStep);
| ^~~~~
src/Timers.cpp: In member function 'void Timer::setReset(float)':
src/Timers.cpp:50:13: error: 'resetTrigger' was not declared in this scope
50 | if (resetTrigger.process(reset)) {
| ^~~~~~~~~~~~
src/Timers.cpp: In member function 'void Timer::step()':
src/Timers.cpp:71:15: error: 'debug' is not a member of 'rack'
71 | rack::debug("counter %f - %f", counter, engineGetSampleRate());
| ^~~~~
src/Timers.cpp:71:49: error: 'engineGetSampleRate' was not declared in this scope; did you mean 'setSampleRate'?
71 | rack::debug("counter %f - %f", counter, engineGetSampleRate());
| ^~~~~~~~~~~~~~~~~~~
| setSampleRate
src/Timers.cpp: At global scope:
src/Timers.cpp:153:10: error: 'void Timers::onCreate()' marked 'override', but does not override
153 | void onCreate() override ;
| ^~~~~~~~
src/Timers.cpp: In constructor 'Timers::Timers()':
src/Timers.cpp:150:70: warning: 'rack::engine::Module::Module(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
150 | Timers() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {}
| ^
In file included from C:/msys64/Rack-SDK/include/app/PortWidget.hpp:5,
from C:/msys64/Rack-SDK/include/helpers.hpp:7,
from C:/msys64/Rack-SDK/include/rack.hpp:16,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/engine/Module.hpp:86:13: note: declared here
86 | DEPRECATED Module(int numParams, int numInputs, int numOutputs, int numLights = 0) : Module() {
| ^~~~~~
src/Timers.cpp: In constructor 'SmallIntegerDisplayWidgeter::SmallIntegerDisplayWidgeter()':
src/Timers.cpp:162:22: warning: 'static std::shared_ptrrack::Font rack::Font::load(const string&)' is deprecated [-Wdeprecated-declarations]
162 | font = Font::load(assetPlugin(plugin, "res/Segment7Standard.ttf"));
| ^~~~
In file included from C:/msys64/Rack-SDK/include/rack.hpp:13,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/window.hpp:30:42: note: declared here
30 | DEPRECATED static std::shared_ptr load(const std::string& filename);
| ^~~~
src/Timers.cpp:162:45: error: expected primary-expression before ',' token
162 | font = Font::load(assetPlugin(plugin, "res/Segment7Standard.ttf"));
| ^
src/Timers.cpp:162:27: error: 'assetPlugin' was not declared in this scope
162 | font = Font::load(assetPlugin(plugin, "res/Segment7Standard.ttf"));
| ^~~~~~~~~~~
src/Timers.cpp: In member function 'virtual void Timers::onSampleRateChange()':
src/Timers.cpp:192:11: error: 'debug' is not a member of 'rack'
192 | rack::debug("onSampleRateChange");
| ^~~~~
src/Timers.cpp:193:22: error: 'engineGetSampleRate' was not declared in this scope
193 | int SampleRate = engineGetSampleRate();
| ^~~~~~~~~~~~~~~~~~~
src/Timers.cpp: In member function 'void Timers::onCreate()':
src/Timers.cpp:200:11: error: 'debug' is not a member of 'rack'
200 | rack::debug("onCreate");
| ^~~~~
src/Timers.cpp: In constructor 'TimersWidget::TimersWidget(Timers*)':
src/Timers.cpp:288:65: warning: 'rack::app::ModuleWidget::ModuleWidget(rack::engine::Module*)' is deprecated [-Wdeprecated-declarations]
288 | TimersWidget::TimersWidget(Timers module) : ModuleWidget(module) {
| ^
In file included from C:/msys64/Rack-SDK/include/app/RackWidget.hpp:5,
from C:/msys64/Rack-SDK/include/app/RackScrollWidget.hpp:5,
from C:/msys64/Rack-SDK/include/app/Scene.hpp:4,
from C:/msys64/Rack-SDK/include/helpers.hpp:9,
from C:/msys64/Rack-SDK/include/rack.hpp:16,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/app/ModuleWidget.hpp:32:13: note: declared here
32 | DEPRECATED ModuleWidget(engine::Module
module) : ModuleWidget() {
| ^~~~~~~~~~~~
src/Timers.cpp:292:19: warning: 'rack::app::SVGPanel' is deprecated [-Wdeprecated-declarations]
292 | SVGPanel *panel = new SVGPanel();
| ^~~~~
In file included from C:/msys64/Rack-SDK/include/rack.hpp:65,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/app/SvgPanel.hpp:24:29: note: declared here
24 | DEPRECATED typedef SvgPanel SVGPanel;
| ^~~~~~~~
src/Timers.cpp:292:31: warning: 'rack::app::SVGPanel' is deprecated [-Wdeprecated-declarations]
292 | SVGPanel *panel = new SVGPanel();
| ^~~~~~~~
In file included from C:/msys64/Rack-SDK/include/rack.hpp:65,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/app/SvgPanel.hpp:24:29: note: declared here
24 | DEPRECATED typedef SvgPanel SVGPanel;
| ^~~~~~~~
src/Timers.cpp:294:35: warning: 'static std::shared_ptrrack::Svg rack::Svg::load(const string&)' is deprecated [-Wdeprecated-declarations]
294 | panel->setBackground(SVG::load(assetPlugin(plugin, "res/Timers.svg")));
| ^~~~
In file included from C:/msys64/Rack-SDK/include/rack.hpp:13,
from src/JLmod.hpp:1,
from src/Timers.cpp:1:
C:/msys64/Rack-SDK/include/window.hpp:49:41: note: declared here
49 | DEPRECATED static std::shared_ptr load(const std::string& filename);
| ^~~~
src/Timers.cpp:294:58: error: expected primary-expression before ',' token
294 | panel->setBackground(SVG::load(assetPlugin(plugin, "res/Timers.svg")));
| ^
src/Timers.cpp:294:40: error: 'assetPlugin' was not declared in this scope
294 | panel->setBackground(SVG::load(assetPlugin(plugin, "res/Timers.svg")));
| ^~~~~~~~~~~
src/Timers.cpp:298:22: error: 'create' is not a member of 'rack::widget::Widget'
298 | addChild(Widget::create(Vec(15, 0)));
| ^~~~~~
src/Timers.cpp:298:40: error: expected primary-expression before '>' token
298 | addChild(Widget::create(Vec(15, 0)));
| ^
src/Timers.cpp:299:22: error: 'create' is not a member of 'rack::widget::Widget'
299 | addChild(Widget::create(Vec(box.size.x-30, 0)));
| ^~~~~~
src/Timers.cpp:299:40: error: expected primary-expression before '>' token
299 | addChild(Widget::create(Vec(box.size.x-30, 0)));
| ^
src/Timers.cpp:300:22: error: 'create' is not a member of 'rack::widget::Widget'
300 | addChild(Widget::create(Vec(15, 365)));
| ^~~~~~
src/Timers.cpp:300:40: error: expected primary-expression before '>' token
300 | addChild(Widget::create(Vec(15, 365)));
| ^
src/Timers.cpp:301:22: error: 'create' is not a member of 'rack::widget::Widget'
301 | addChild(Widget::create(Vec(box.size.x-30, 365)));
| ^~~~~~
src/Timers.cpp:301:40: error: expected primary-expression before '>' token
301 | addChild(Widget::create(Vec(box.size.x-30, 365)));
| ^
src/Timers.cpp:333:20: error: 'create' is not a member of 'rack::engine::Port'
333 | addInput(Port::create(Vec(Reset_X, Inputs_Y), Port::INPUT, module, Timers::RESET1_INPUT));
| ^~~~~~
src/Timers.cpp:333:37: error: expected primary-expression before '>' token
333 | addInput(Port::create(Vec(Reset_X, Inputs_Y), Port::INPUT, module, Timers::RESET1_INPUT));
| ^
src/Timers.cpp:333:69: error: 'INPUT' is not a member of 'rack::engine::Port'
333 | addInput(Port::create(Vec(Reset_X, Inputs_Y), Port::INPUT, module, Timers::RESET1_INPUT));
| ^~~~~
src/Timers.cpp:334:20: error: 'create' is not a member of 'rack::engine::Port'
334 | addInput(Port::create(Vec(CV_X, Inputs_Y), Port::INPUT, module, Timers::CV1_INPUT));
| ^~~~~~
src/Timers.cpp:334:37: error: expected primary-expression before '>' token
334 | addInput(Port::create(Vec(CV_X, Inputs_Y), Port::INPUT, module, Timers::CV1_INPUT));
| ^
src/Timers.cpp:334:66: error: 'INPUT' is not a member of 'rack::engine::Port'
334 | addInput(Port::create(Vec(CV_X, Inputs_Y), Port::INPUT, module, Timers::CV1_INPUT));
| ^~~~~
src/Timers.cpp:335:27: error: 'create' is not a member of 'rack::app::ParamWidget'
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~
src/Timers.cpp:335:43: error: expected primary-expression before '>' token
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^
src/Timers.cpp:335:86: warning: right operand of comma operator has no effect [-Wunused-value]
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~~~~~~~~~~~~~~
src/Timers.cpp:335:107: warning: right operand of comma operator has no effect [-Wunused-value]
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:335:112: warning: right operand of comma operator has no effect [-Wunused-value]
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:335:117: warning: right operand of comma operator has no effect [-Wunused-value]
335 | addParam(ParamWidget::create(Vec(Button_X, Button_Y), module, Timers::timer1_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:336:27: error: 'create' is not a member of 'rack::app::ParamWidget'
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:336:48: error: expected primary-expression before '>' token
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^
src/Timers.cpp:336:87: warning: right operand of comma operator has no effect [-Wunused-value]
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~~~~~~~
src/Timers.cpp:336:101: warning: right operand of comma operator has no effect [-Wunused-value]
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:336:106: warning: right operand of comma operator has no effect [-Wunused-value]
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:336:114: warning: right operand of comma operator has no effect [-Wunused-value]
336 | addParam(ParamWidget::create(Vec(Knob_X, Knob_Y), module, Timers::timer1_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:337:27: error: 'create' is not a member of 'rack::app::ParamWidget'
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^~~~~~
src/Timers.cpp:337:41: error: expected primary-expression before '>' token
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^
src/Timers.cpp:337:82: warning: right operand of comma operator has no effect [-Wunused-value]
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^~~~~~~~~~~
src/Timers.cpp:337:95: warning: right operand of comma operator has no effect [-Wunused-value]
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:337:100: warning: right operand of comma operator has no effect [-Wunused-value]
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:337:105: warning: right operand of comma operator has no effect [-Wunused-value]
337 | addParam(ParamWidget::create(Vec(Knob2_X, Knob2_Y), module, Timers::timer1_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:338:21: error: 'create' is not a member of 'rack::engine::Port'
338 | addOutput(Port::create(Vec(Gate_X, Gate_Y), Port::OUTPUT, module, Timers::TRIGGER1_OUTPUT));
| ^~~~~~
src/Timers.cpp:338:38: error: expected primary-expression before '>' token
338 | addOutput(Port::create(Vec(Gate_X, Gate_Y), Port::OUTPUT, module, Timers::TRIGGER1_OUTPUT));
| ^
src/Timers.cpp:338:67: error: 'OUTPUT' is not a member of 'rack::engine::Port'
338 | addOutput(Port::create(Vec(Gate_X, Gate_Y), Port::OUTPUT, module, Timers::TRIGGER1_OUTPUT));
| ^~~~~~
src/Timers.cpp:339:33: error: 'create' is not a member of 'rack::app::ModuleLightWidget'
339 | addChild(ModuleLightWidget::create<SmallLight>(Vec(Button_X + 20 , Button_Y), module, Timers::LIGHT1));
| ^~~~~~
src/Timers.cpp:339:59: error: expected primary-expression before '>' token
339 | addChild(ModuleLightWidget::create<SmallLight>(Vec(Button_X + 20 , Button_Y), module, Timers::LIGHT1));
| ^~
src/Timers.cpp:339:109: warning: right operand of comma operator has no effect [-Wunused-value]
339 | addChild(ModuleLightWidget::create<SmallLight>(Vec(Button_X + 20 , Button_Y), module, Timers::LIGHT1));
| ^~~~~~
src/Timers.cpp:355:20: error: 'create' is not a member of 'rack::engine::Port'
355 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET2_INPUT));
| ^~~~~~
src/Timers.cpp:355:37: error: expected primary-expression before '>' token
355 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET2_INPUT));
| ^
src/Timers.cpp:355:80: error: 'INPUT' is not a member of 'rack::engine::Port'
355 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET2_INPUT));
| ^~~~~
src/Timers.cpp:356:20: error: 'create' is not a member of 'rack::engine::Port'
356 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV2_INPUT));
| ^~~~~~
src/Timers.cpp:356:37: error: expected primary-expression before '>' token
356 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV2_INPUT));
| ^
src/Timers.cpp:356:77: error: 'INPUT' is not a member of 'rack::engine::Port'
356 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV2_INPUT));
| ^~~~~
src/Timers.cpp:357:27: error: 'create' is not a member of 'rack::app::ParamWidget'
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~
src/Timers.cpp:357:43: error: expected primary-expression before '>' token
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^
src/Timers.cpp:357:97: warning: right operand of comma operator has no effect [-Wunused-value]
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~~~~~~~~~~~~~~
src/Timers.cpp:357:118: warning: right operand of comma operator has no effect [-Wunused-value]
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:357:123: warning: right operand of comma operator has no effect [-Wunused-value]
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:357:128: warning: right operand of comma operator has no effect [-Wunused-value]
357 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer2_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:358:27: error: 'create' is not a member of 'rack::app::ParamWidget'
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:358:48: error: expected primary-expression before '>' token
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^
src/Timers.cpp:358:98: warning: right operand of comma operator has no effect [-Wunused-value]
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~~~~~~~
src/Timers.cpp:358:112: warning: right operand of comma operator has no effect [-Wunused-value]
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:358:117: warning: right operand of comma operator has no effect [-Wunused-value]
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:358:125: warning: right operand of comma operator has no effect [-Wunused-value]
358 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer2_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:359:27: error: 'create' is not a member of 'rack::app::ParamWidget'
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^~~~~~
src/Timers.cpp:359:41: error: expected primary-expression before '>' token
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^
src/Timers.cpp:359:93: warning: right operand of comma operator has no effect [-Wunused-value]
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^~~~~~~~~~~
src/Timers.cpp:359:106: warning: right operand of comma operator has no effect [-Wunused-value]
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:359:111: warning: right operand of comma operator has no effect [-Wunused-value]
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:359:116: warning: right operand of comma operator has no effect [-Wunused-value]
359 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer2_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:360:21: error: 'create' is not a member of 'rack::engine::Port'
360 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER2_OUTPUT));
| ^~~~~~
src/Timers.cpp:360:38: error: expected primary-expression before '>' token
360 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER2_OUTPUT));
| ^
src/Timers.cpp:360:78: error: 'OUTPUT' is not a member of 'rack::engine::Port'
360 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER2_OUTPUT));
| ^~~~~~
src/Timers.cpp:376:20: error: 'create' is not a member of 'rack::engine::Port'
376 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET3_INPUT));
| ^~~~~~
src/Timers.cpp:376:37: error: expected primary-expression before '>' token
376 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET3_INPUT));
| ^
src/Timers.cpp:376:80: error: 'INPUT' is not a member of 'rack::engine::Port'
376 | addInput(Port::create(Vec(Reset_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::RESET3_INPUT));
| ^~~~~
src/Timers.cpp:377:20: error: 'create' is not a member of 'rack::engine::Port'
377 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV3_INPUT));
| ^~~~~~
src/Timers.cpp:377:37: error: expected primary-expression before '>' token
377 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV3_INPUT));
| ^
src/Timers.cpp:377:77: error: 'INPUT' is not a member of 'rack::engine::Port'
377 | addInput(Port::create(Vec(CV_X, offset_Y + Inputs_Y), Port::INPUT, module, Timers::CV3_INPUT));
| ^~~~~
src/Timers.cpp:378:27: error: 'create' is not a member of 'rack::app::ParamWidget'
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~
src/Timers.cpp:378:43: error: expected primary-expression before '>' token
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^
src/Timers.cpp:378:97: warning: right operand of comma operator has no effect [-Wunused-value]
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~~~~~~~~~~~~~~~~~
src/Timers.cpp:378:118: warning: right operand of comma operator has no effect [-Wunused-value]
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:378:123: warning: right operand of comma operator has no effect [-Wunused-value]
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:378:128: warning: right operand of comma operator has no effect [-Wunused-value]
378 | addParam(ParamWidget::create(Vec(Button_X, offset_Y + Button_Y), module, Timers::timer3_RESET_BUTTON, 0.0, 1.0, 0.0));
| ^~~
src/Timers.cpp:379:27: error: 'create' is not a member of 'rack::app::ParamWidget'
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:379:48: error: expected primary-expression before '>' token
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^
src/Timers.cpp:379:98: warning: right operand of comma operator has no effect [-Wunused-value]
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~~~~~~~
src/Timers.cpp:379:112: warning: right operand of comma operator has no effect [-Wunused-value]
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:379:117: warning: right operand of comma operator has no effect [-Wunused-value]
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^~~~~~
src/Timers.cpp:379:125: warning: right operand of comma operator has no effect [-Wunused-value]
379 | addParam(ParamWidget::create(Vec(Knob_X, offset_Y + Knob_Y), module, Timers::timer3_PARAM, 0.0, 1000.0, 0.0));
| ^~~
src/Timers.cpp:380:27: error: 'create' is not a member of 'rack::app::ParamWidget'
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^~~~~~
src/Timers.cpp:380:41: error: expected primary-expression before '>' token
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^
src/Timers.cpp:380:93: warning: right operand of comma operator has no effect [-Wunused-value]
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^~~~~~~~~~~
src/Timers.cpp:380:106: warning: right operand of comma operator has no effect [-Wunused-value]
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:380:111: warning: right operand of comma operator has no effect [-Wunused-value]
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:380:116: warning: right operand of comma operator has no effect [-Wunused-value]
380 | addParam(ParamWidget::create(Vec(Knob2_X, offset_Y + Knob2_Y), module, Timers::timer3_FINE, 0.0, 5.0, 0.0));
| ^~~
src/Timers.cpp:381:21: error: 'create' is not a member of 'rack::engine::Port'
381 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER3_OUTPUT));
| ^~~~~~
src/Timers.cpp:381:38: error: expected primary-expression before '>' token
381 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER3_OUTPUT));
| ^
src/Timers.cpp:381:78: error: 'OUTPUT' is not a member of 'rack::engine::Port'
381 | addOutput(Port::create(Vec(Gate_X, offset_Y + Gate_Y), Port::OUTPUT, module, Timers::TRIGGER3_OUTPUT));
| ^~~~~~
src/Timers.cpp: At global scope:
src/Timers.cpp:385:29: error: 'create' is not a member of 'rack::plugin::Model'
385 | Model *modelTimers = Model::create<Timers, TimersWidget>("JLmod", "Timers", "Timers", UTILITY_TAG);
| ^~~~~~
src/Timers.cpp:385:42: error: expected primary-expression before ',' token
385 | Model *modelTimers = Model::create<Timers, TimersWidget>("JLmod", "Timers", "Timers", UTILITY_TAG);
| ^
make: *** [C:/msys64/Rack-SDK/compile.mk:69 : build/src/Timers.cpp.o] Erreur 1

Module VERSION update to 0.6.0

The the upcoming release, the module VERSION in the Makefile needs to be updated to 0.6.0. Three digits, no dev suffix. Thank you!

Ratchets is killing VCV Rack on load on W10

There is no log.txt with the error, but on Windows 10 a patch with Ratchets in it kills Rack immediately upon loading the patch.

Here is a vcv file , you can not load on windows, but when I remove the JLmod folder from the plugins it will load, telling me that the module was not found.
Hope you can do something with/about this.

Greetings Peter.

Ratchet-bug small 30032020.zip

module load fail

Fedora 23 Linux
Rack-master (0.6.x dev)

Your modules build fine but fail to load:

Failed to load library ./plugins/JLmod/plugin.so: ./plugins/JLmod/plugin.so: undefined symbol: modelTimers

which may be related to this warning during the build:

src/Timers.cpp:367:12: warning: unused variable ‘modelTimers’ [-Wunused-variable]
Model *modelTimers = Model::create<Timers, TimersWidget>("JLmod", "Timers", "Timers", UTILITY_TAG);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.