Closed xian closed 1 year ago
idf.py build
currently fails with:
ld: esp-idf/led-renderer/libled-renderer.a(led-renderer.cpp.obj):(.literal._ZN11LEDRenderer6renderEv+0xc): undefined reference to `_ZN5Gamma9Correct22Ehmm'
ld: esp-idf/led-renderer/libled-renderer.a(led-renderer.cpp.obj): in function `_ZN11LEDRenderer6renderEv':
brain/sw/components/led-renderer/led-renderer.cpp:209: undefined reference to `_ZN5Gamma9Correct22Ehmm'
ld: brain/sw/components/led-renderer/led-renderer.cpp:210: undefined reference to `_ZN5Gamma9Correct22Ehmm'
ld: brain/sw/components/led-renderer/led-renderer.cpp:211: undefined reference to `_ZN5Gamma9Correct22Ehmm'
ld: esp-idf/brain-ui/libbrain-ui.a(brain-led.cpp.obj):(.literal._ZN8BrainLed8setValueEh+0x0): undefined reference to `_ZN5Gamma17Correct22NoDitherEh'
ld: esp-idf/brain-ui/libbrain-ui.a(brain-led.cpp.obj): in function `_ZN8BrainLed8setValueEh':
brain/sw/components/brain-ui/brain-led.cpp:33: undefined reference to `_ZN5Gamma17Correct22NoDitherEh'
Do I need to tell it to include Gamma.c
?
Applies gamma correction (2.2 power curve) to shader-rendered pixels.