Search found 1 match

by SamoESP
Mon Oct 02, 2023 11:34 am
Forum: ESP-IDF
Topic: Where is math.h?
Replies: 4
Views: 8192

Re: Where is math.h?

I have a similar problem. When I add math.h I get warning "The math library must be enabled by CONFIG_NEWLIB_LIBC to be included in the build. Due to this fact, I added sdkconfig.defaults file where I added CONFIG_NEWLIB_LIBC=y and instead of <math.h> I include <newlib.h>. I try to use math function...