Hello, and first thanks you for your work, it's amazing. I've got a crash after git submodule update --init --recursive
and make
.
Rack/plugins/AudibleInstruments master ✗ 3d ◒
▶ make
g++ -fshort-enums -DTEST -I./eurorack -Wno-unused-local-typedefs -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/Frames.cpp.o src/Frames.cpp
In file included from src/Frames.cpp:4:0:
./eurorack/frames/poly_lfo.h:78:49: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
inline const uint16_t dac_code(uint8_t index) const {
^
src/Frames.cpp: In constructor ‘FramesWidget::FramesWidget()’:
src/Frames.cpp:319:11: error: ‘createValueLight’ was not declared in this scope
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:319:39: error: ‘GreenRedPolarityLight’ was not declared in this scope
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:319:39: error: template argument 1 is invalid
src/Frames.cpp:320:39: error: the value of ‘GreenRedPolarityLight’ is not usable in a constant expression
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(97, 101), &module->outputs[Frames::GAIN1_LIGHT + 1].
^
src/Frames.cpp:319:39: note: ‘GreenRedPolarityLight’ was not declared ‘constexpr’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:320:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(97, 101), &module->outputs[Frames::GAIN1_LIGHT + 1].
^
src/Frames.cpp:320:39: note: expected a type, got ‘GreenRedPolarityLight’
src/Frames.cpp:321:39: error: the value of ‘GreenRedPolarityLight’ is not usable in a constant expression
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(165, 101), &module->outputs[Frames::GAIN1_LIGHT + 2]
^
src/Frames.cpp:319:39: note: ‘GreenRedPolarityLight’ was not declared ‘constexpr’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:321:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(165, 101), &module->outputs[Frames::GAIN1_LIGHT + 2]
^
src/Frames.cpp:321:39: note: expected a type, got ‘GreenRedPolarityLight’
src/Frames.cpp:322:39: error: the value of ‘GreenRedPolarityLight’ is not usable in a constant expression
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(232, 101), &module->outputs[Frames::GAIN1_LIGHT + 3]
^
src/Frames.cpp:319:39: note: ‘GreenRedPolarityLight’ was not declared ‘constexpr’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:322:39: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::SmallLight’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(232, 101), &module->outputs[Frames::GAIN1_LIGHT + 3]
^
src/Frames.cpp:322:39: note: expected a type, got ‘GreenRedPolarityLight’
src/Frames.cpp:323:40: error: the value of ‘GreenRedPolarityLight’ is not usable in a constant expression
addChild(createValueLight<MediumLight<GreenRedPolarityLight>>(Vec(61, 155), &module->outputs[Frames::EDIT_LIGHT].valu
^
src/Frames.cpp:319:39: note: ‘GreenRedPolarityLight’ was not declared ‘constexpr’
addChild(createValueLight<SmallLight<GreenRedPolarityLight>>(Vec(30, 101), &module->outputs[Frames::GAIN1_LIGHT + 0].
^
src/Frames.cpp:323:40: error: type/value mismatch at argument 1 in template parameter list for ‘template<class BASE> struct rack::MediumLight’
addChild(createValueLight<MediumLight<GreenRedPolarityLight>>(Vec(61, 155), &module->outputs[Frames::EDIT_LIGHT].valu
^
src/Frames.cpp:323:40: note: expected a type, got ‘GreenRedPolarityLight’
../../compile.mk:53 : la recette pour la cible « build/src/Frames.cpp.o » a échouée
make: *** [build/src/Frames.cpp.o] Erreur 1
x 3d ◒ ⍉⍉
I'm not already a C++ dev and i'm not in the project but i can immagine that the GreenRedPolarityLight constant is not defined in the variable scope. Somebody can help ?