-
|
Hi there. I hope this is the correct place to post this query. I installed this library yesterday along with the menu designer, and I cannot seem to get the code generated to compile. It keeps telling me that there is no matching call to the 'min' function. The error it gives is "no matching function for call to 'min(int, int32_t&)'".
The error that is thrown is linked to the tcMenuLiquidCrystal.cpp file, line 136. Here is a snippet from that file that the Arduino IDE compiler has flagged: Is this an error on my side? Perhaps I am missing some additional library that handles the "min" function (assuming its not the standard Arduino function)? Any assistance or pointers as to what might be the issue would be highly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Sorry, long time since this was raised. Most maintainers had to take a break for a while. The issue here is that nobody else (including me) had tried such a display on ESP32 in some time. I think I'd tried it a long time ago during earlier development, but I've normally always used OLED or TFT displays with ESP32. However, it should work, and this is a bug. I can see what's wrong here, and I'll schedule a fix for the next TcMenu release. In the mean time, anyone facing this can fix this by casting both sides to the same type, IE updating the file something like this: |
Beta Was this translation helpful? Give feedback.
see #552