igorski/VSTSID

Build error: 'SHRT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?

Closed this issue · 2 comments

/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 ;)

Thanks for pointing out the missing import.
The Bitwig issue will be addressed as part of #13

The missing import is not addressed, though ..