I'm using some libraries to make a DHT temperature that uses a Nodemcu esp8266 to display information to blynk but i keep getting library issues.
Arduino: 1.8.10 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 57600"
C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar: unable to rename 'libraries\ESP8266WiFi\ESP8266WiFi.a'; reason: File exists
Multiple libraries were found for "SPI.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\SPI
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\ESP8266WiFi
Multiple libraries were found for "BlynkSimpleEsp8266.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\Blynk
Multiple libraries were found for "SimpleTimer.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\SimpleTimer-master
Multiple libraries were found for "DHT.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\DHT-sensor-library-master
Multiple libraries were found for "Adafruit_Sensor.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\arduino_557997
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Sounds like you need to delete C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar: unable to rename 'libraries\ESP8266WiFi\ESP8266WiFi.a
Arduino: 1.8.10 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
Multiple libraries were found for "BlynkSimpleEsp8266.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\Blynk
Multiple libraries were found for "SimpleTimer.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\SimpleTimer-master
Multiple libraries were found for "DHT.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\DHT-sensor-library-master
Multiple libraries were found for "Adafruit_Sensor.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\arduino_557997
Multiple libraries were found for "SPI.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\SPI
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\ESP8266WiFi
exec: "C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar": file does not exist
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
You misunderstood. You definitely don't want to delete C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\binxtensa-lx106-elf-ar. That's an essential part of the toolchain. Please restore that file from the recycle bin.
@blh64 was suggesting that you delete the file libraries\ESP8266WiFi\ESP8266WiFi.a. That's not the full path to the file. I would need the verbose compilation output to give you the fill path.
However, my suspicion is this problem could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on. If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to whitelist the appropriate file, folder, or process so it doesn't interfere with compilation.
So give that a try and see what happens, then we can go from there if it doesn't fix the problem.
I turn off my firewall, but i still get some error messages. Do i need to do something more?
Arduino: 1.8.10 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-ar: unable to rename 'libraries\ESP8266WiFi\ESP8266WiFi.a'; reason: File exists
Multiple libraries were found for "SPI.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\SPI
Multiple libraries were found for "ESP8266WiFi.h"
Used: C:\Users\wanga\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2\libraries\ESP8266WiFi
Multiple libraries were found for "BlynkSimpleEsp8266.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\Blynk
Multiple libraries were found for "SimpleTimer.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\SimpleTimer-master
Multiple libraries were found for "DHT.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\DHT-sensor-library-master
Multiple libraries were found for "Adafruit_Sensor.h"
Used: C:\Users\wanga\OneDrive\Documents\Arduino\libraries\arduino_557997
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I said to turn off your antivirus. I didn't say to turn off your firewall. Although these are both applications for security, they are very different. The firewall could not cause the error you are getting.