You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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&)'".
I have installed version 4.4.0 of tcMenu
I am using the Arduino IDE to compile (2.3.4)
For the ESP32, I have the 3.1.3 core installed
The generated compiled code was for 1 x rotary encoder and I2C LCD screen with one menu added with text (I was just wanting to do a test)
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!
Many thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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!
Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions