What do you want to achieve?
Include a Spinbox.
After creating a spinbox in Squareline studio, the compiler says:
incompatible implicit declaration of built-in function 'round' [-Wbuiltin-declaration-mismatch]
94 | lv_spinbox_set_step( ui_ElevationSpinbox, round(pow(10, 10 - 1)) );
| ^~~~~
/Users/me/esp/Tent/main/ui/screens/ui_GeneralSettingsScreen.c:94:43: note: include '<math.h>' or provide a declaration of 'round'
What have you tried so far?
including math.h in various files.
Others
- SquareLine Studio version:. 1.3.1
- Operating system:. MacOs & ESP-IDF
- Target hardware:. ESP32-S3