s/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o:(.text.setup+0x28): undefined reference to `_ZN3DHT5beginEh'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o: in function `_ZN14HardwareSerial5beginEm':
C:\Users\thisi\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/HardwareSerial.h:76: undefined reference to `_ZN3DHT5beginEh'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o: in function `setup':
C:\Users\thisi\OneDrive\Documents\Arduino\Project/Project.ino:35: undefined reference to `_ZN3DHTC1Ehhh'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\OneDrive\Documents\Arduino\Project/Project.ino:34: undefined reference to `_ZN3DHTC1Ehhh'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o:(.text.loop+0x5c): undefined reference to `_ZN3DHT12readHumidityEb'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o:(.text.loop+0x60): undefined reference to `_ZN3DHT15readTemperatureEbb'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o:(.text.loop+0xc1): undefined reference to `_ZN3DHT12readHumidityEb'
c:/users/thisi/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\thisi\AppData\Local\Temp\arduino_build_67209\sketch\Project.ino.cpp.o:(.text.loop+0xd0): undefined reference to `_ZN3DHT15readTemperatureEbb'
collect2.exe: error: ld returned 1 exit status
This is not an upload error but a linker error. Your topic has therefore been moved to a more suitable location on the forum.
These undefined references look like you have the .h file for a library but don't have the other files. It particularly looks like a DHT library. I recommend you re-install the DHT library you are using.
Have you done the board installation properly?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.