-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
I get a compilation error using dht.h lib:
Arduino:1.6.5 (Windows 8.1), Scheda:"NodeMCU 0.9 (ESP-12 Module), 80 MHz, 115200"
d:/users/pbecc/appdata/roaming/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-w_sqrt.o):(.literal+0x8): undefined reference to __ieee754_sqrt' d:/users/pbecc/appdata/roaming/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/lib\libm.a(lib_a-w_sqrt.o): In functionsqrt':
d:\ivan\projects\arduinoesp\toolchain\dl\esp-newlib\build\xtensa-lx106-elf\newlib\libm\math/../../../../../newlib/libm/math/w_sqrt.c:63: undefined reference to `__ieee754_sqrt'
collect2.exe: error: ld returned 1 exit status
The library call the sqrt() math function : this give the error( no error commenting out the line!)