make
g++ -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -Wsuggest-override -std=c++11 -c -o build/src/Phaser.cpp.o src/Phaser.cpp
src/Phaser.cpp:32:7: warning: ‘virtual void PhaserFx::step()’ can be marked override [-Wsuggest-override]
void step();
^~~~
g++ -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -Wsuggest-override -std=c++11 -c -o build/src/SEQ16.cpp.o src/SEQ16.cpp
src/SEQ16.cpp:57:7: warning: ‘virtual void SEQ16::step()’ can be marked override [-Wsuggest-override]
void step();
^~~~
src/SEQ16.cpp:59:10: warning: ‘virtual json_t* SEQ16::toJson()’ can be marked override [-Wsuggest-override]
json_t toJson() {
^~~~~~
src/SEQ16.cpp:72:7: warning: ‘virtual void SEQ16::fromJson(json_t)’ can be marked override [-Wsuggest-override]
void fromJson(json_t rootJSeq16) {
^~~~~~~~
src/SEQ16.cpp:80:7: warning: ‘virtual void SEQ16::reset()’ can be marked override [-Wsuggest-override]
void reset() {
^~~~~
src/SEQ16.cpp:86:7: warning: ‘virtual void SEQ16::randomize()’ can be marked override [-Wsuggest-override]
void randomize() {
^~~~~~~~~
src/SEQ16.cpp: In constructor ‘SEQ16Widget::SEQ16Widget()’:
src/SEQ16.cpp:195:23: error: ‘Davies1900hSmallBlackKnob’ was not declared in this scope
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(17, 56), module, SEQ16::CLOCK_PARAM, -2.0, 6.0, 2.0));
^~~~~~~~~~~~~~~~~~~~~~~~~
src/SEQ16.cpp:195:23: note: suggested alternative: ‘_ZTIN4rack19RoundSmallBlackKnobE’
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(17, 56), module, SEQ16::CLOCK_PARAM, -2.0, 6.0, 2.0));
^~~~~~~~~~~~~~~~~~~~~~~~~
_ZTIN4rack19RoundSmallBlackKnobE
src/SEQ16.cpp:195:105: error: no matching function for call to ‘createParam< >(rack::Vec, SEQ16&, SEQ16::ParamIds, double, double, double)’
900hSmallBlackKnob>(Vec(17, 56), module, SEQ16::CLOCK_PARAM, -2.0, 6.0, 2.0));
^
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget createParam(Vec pos, Module module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:195:105: error: template argument 1 is invalid
900hSmallBlackKnob>(Vec(17, 56), module, SEQ16::CLOCK_PARAM, -2.0, 6.0, 2.0));
^
src/SEQ16.cpp:197:11: error: ‘createValueLight’ was not declared in this scope
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(60+5, 61+4), &module->runningLight));
^~~~~~~~~~~~~~~~
src/SEQ16.cpp:197:39: error: ‘GreenValueLight’ was not declared in this scope
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(60+5, 61+4), &module->runningLight));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:197:39: error: template argument 1 is invalid
src/SEQ16.cpp:199:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(98+5, 61+4), &module->resetLight));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:199:39: note: expected a type, got ‘GreenValueLight’
src/SEQ16.cpp:200:23: error: ‘Davies1900hSmallBlackSnapKnob’ was not declared in this scope
addParam(createParam<Davies1900hSmallBlackSnapKnob>(Vec(132, 56), module, SEQ16::STEPS_PARAM, 1.0, 16.0, 16.0));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/SEQ16.cpp:200:23: note: suggested alternative: ‘_ZTIN4rack23RoundSmallBlackSnapKnobE’
addParam(createParam<Davies1900hSmallBlackSnapKnob>(Vec(132, 56), module, SEQ16::STEPS_PARAM, 1.0, 16.0, 16.0));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_ZTIN4rack23RoundSmallBlackSnapKnobE
src/SEQ16.cpp:200:111: error: no matching function for call to ‘createParam< >(rack::Vec, SEQ16&, SEQ16::ParamIds, double, double, double)’
allBlackSnapKnob>(Vec(132, 56), module, SEQ16::STEPS_PARAM, 1.0, 16.0, 16.0));
^
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget createParam(Vec pos, Module module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:200:111: error: template argument 1 is invalid
allBlackSnapKnob>(Vec(132, 56), module, SEQ16::STEPS_PARAM, 1.0, 16.0, 16.0));
^
src/SEQ16.cpp:201:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(180.5, 65), &module->gatesLight));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:201:39: note: expected a type, got ‘GreenValueLight’
src/SEQ16.cpp:202:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(218.5, 65), &module->rowLights[0]));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:202:39: note: expected a type, got ‘GreenValueLight’
src/SEQ16.cpp:203:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(257, 65), &module->rowLights[1]));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:203:39: note: expected a type, got ‘GreenValueLight’
src/SEQ16.cpp:204:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(295.5, 65), &module->rowLights[2]));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:204:39: note: expected a type, got ‘GreenValueLight’
src/SEQ16.cpp:218:119: error: no matching function for call to ‘createParam<Davies1900hSmallBlackKnob>(rack::Vec, SEQ16&, int, double, double, double)’
kKnob>(Vec(portX[i] - 2, 157), module, SEQ16::ROW1_PARAM + i, 0.0, 6.0, 0.0));
^
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget createParam(Vec pos, Module module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:219:119: error: no matching function for call to ‘createParam<Davies1900hSmallBlackKnob>(rack::Vec, SEQ16&, int, double, double, double)’
kKnob>(Vec(portX[i] - 2, 198), module, SEQ16::ROW2_PARAM + i, 0.0, 6.0, 0.0));
^
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget createParam(Vec pos, Module module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:220:119: error: no matching function for call to ‘createParam<Davies1900hSmallBlackKnob>(rack::Vec, SEQ16&, int, double, double, double)’
kKnob>(Vec(portX[i] - 2, 240), module, SEQ16::ROW3_PARAM + i, 0.0, 6.0, 0.0));
^
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^~~~~~~~~~~
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:222:40: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(portX[i] + 7, 278 + 4), &module->gateLights[i]));
^~~~~~~~~~~~~~~
src/SEQ16.cpp:222:40: note: expected a type, got ‘GreenValueLight’
make: *** [../../compile.mk:54: build/src/SEQ16.cpp.o] Error 1
Similarish issue in Mint
In file included from src/Autodafe.hpp:1:0,
from src/SEQ16.cpp:8:
../../include/rack.hpp:46:14: note: candidate: template<class TParamWidget> rack::ParamWidget* rack::createParam(rack::Vec, rack::Module*, int, float, float, float)
ParamWidget *createParam(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) {
^
../../include/rack.hpp:46:14: note: template argument deduction/substitution failed:
src/SEQ16.cpp:222:40: error: the value of ‘GreenValueLight’ is not usable in a constant expression
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(portX[i] + 7, 278 + 4), &module->gateLights[i]));
^
src/SEQ16.cpp:197:39: note: ‘GreenValueLight’ was not declared ‘constexpr’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(60+5, 61+4), &module->runningLight));
^
src/SEQ16.cpp:222:40: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(portX[i] + 7, 278 + 4), &module->gateLights[i]));
^
src/SEQ16.cpp:222:40: note: expected a type, got ‘GreenValueLight’
../../compile.mk:53: recipe for target 'build/src/SEQ16.cpp.o' failed
make: *** [build/src/SEQ16.cpp.o] Error 1
make: *** Waiting for unfinished jobs....