Build failure [Win 10 Rack-SDK-2.beta.1]
SteveRussell33 opened this issue · comments
Steve Russell commented
rack2 branch fails with updated SDK
g++ -std=c++11 -Wsuggest-override -fPIC -I../../include -I../../dep/include -MMD -MP -g -O3 -march=nehalem -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -municode -c -o build/src/Bypass.cpp.o src/Bypass.cpp
In file included from ../../include/rack.hpp:34,
from src/plugin.hpp:2,
from src/Bypass.cpp:1:
../../include/helpers.hpp: In instantiation of 'TParamWidget* rack::createLightParam(rack::math::Vec, rack::engine::Module*, int, int) [with TParamWidget = RetroButton]':
../../include/helpers.hpp:164:50: required from 'TParamWidget* rack::createLightParamCentered(rack::math::Vec, rack::engine::Module*, int, int) [with TParamWidget = RetroButton]'
src/Bypass.cpp:280:51: required from here
../../include/helpers.hpp:156:12: error: 'struct RetroButton' has no member named 'getLight'
156 | o->getLight()->module = module;
| ~~~^~~~~~~~
../../include/helpers.hpp:157:12: error: 'struct RetroButton' has no member named 'getLight'
157 | o->getLight()->firstLightId = firstLightId;
| ~~~^~~~~~~~
make: *** [../../compile.mk:70: build/src/Bypass.cpp.o] Error 1