Closed cschol closed 6 years ago
e7485eb9de04df440cdc65871e59ca6cacd32396
g++ -Wsuggest-override -std=c++11 -fPIC -I../../include -I../../dep/include -DSLUG=LOGinstruments -DVERSION=0.6.0dev -MMD -MP -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/Speck.cpp.o src/Speck.cpp src/Speck.cpp: In constructor 'SpeckWidget::SpeckWidget(Speck*)': src/Speck.cpp:510:31: error: 'RoundSmallBlackSnapKnob' was not declared in this scope addParam(ParamWidget::create<RoundSmallBlackSnapKnob>(Vec(118, 244), module, Speck::SCALE_1_PARAM, -10.0, 20.0, -1.0)); ^~~~~~~~~~~~~~~~~~~~~~~ src/Speck.cpp:510:118: error: no matching function for call to 'rack::Parameter::create<<expression error> >(rack::Vec, Speck*&, Speck::ParamIds, double, double, double)' addParam(ParamWidget::create<RoundSmallBlackSnapKnob>(Vec(118, 244), module, Speck::SCALE_1_PARAM, -10.0, 20.0, -1.0)); ^ In file included from ../../include/rack.hpp:9:0, from src/LOGinstruments.hpp:1, from src/Speck.cpp:5: ../../include/app.hpp:244:12: note: candidate: template<class T> static T* rack::Parameter::create(rack::Vec, rack::Module*, int, float, float, float) static T *create(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) { ^~~~~~ ../../include/app.hpp:244:12: note: template argument deduction/substitution failed: src/Speck.cpp:510:118: error: template argument 1 is invalid addParam(ParamWidget::create<RoundSmallBlackSnapKnob>(Vec(118, 244), module, Speck::SCALE_1_PARAM, -10.0, 20.0, -1.0)); ^ src/Speck.cpp:512:118: error: no matching function for call to 'rack::Parameter::create<RoundSmallBlackSnapKnob>(rack::Vec, Speck*&, Speck::ParamIds, double, double, double)' addParam(ParamWidget::create<RoundSmallBlackSnapKnob>(Vec(167, 244), module, Speck::SCALE_2_PARAM, -10.0, 20.0, -1.0)); ^ In file included from ../../include/rack.hpp:9:0, from src/LOGinstruments.hpp:1, from src/Speck.cpp:5: ../../include/app.hpp:244:12: note: candidate: template<class T> static T* rack::Parameter::create(rack::Vec, rack::Module*, int, float, float, float) static T *create(Vec pos, Module *module, int paramId, float minValue, float maxValue, float defaultValue) { ^~~~~~ ../../include/app.hpp:244:12: note: template argument deduction/substitution failed: make: *** [../../compile.mk:58: build/src/Speck.cpp.o] Error 1
Probably related to API Update.
That's correct. I haven't yet updated the code to be compliant.
The RoundSmallBlackSnapKnob component was wiped out from Rack componentLibrary, unfortunately. Fixed.
e7485eb9de04df440cdc65871e59ca6cacd32396
Probably related to API Update.