Build error: 'SHRT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
Closed this issue · 2 comments
fractalf commented
/src/synth.cpp:28:1: note: 'SHRT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
I got this error when building for linux.
I added #include <climits>
as suggested and it worked.
FYI
Update:
When running it in Bitwig it crashes with this:
Contents/x86_64-linux/vstsid.so: undefined symbol: pango_layout_set_text
...that's pretty much how deep I can go ;)
igorski commented
Thanks for pointing out the missing import.
The Bitwig issue will be addressed as part of #13
dromer commented
The missing import is not addressed, though ..