i use 1.8.18 version and when i install a library i take this message:
Arduino: 1.8.18 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
dallas_temp_oled_96_:1:10: fatal error: OneWire.h: No such file or directory
Multiple libraries were found for "OneWire.h"
compilation terminated.
Used: C:\Users\kopan\BANNED\Έγγραφα\Arduino\libraries\OneWire-master
Not used: C:\Users\kopan\BANNED\Έγγραφα\Arduino\libraries\OneWire-2.3.7
exit status 1
OneWire.h: No such file or directory
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
what am I doing wrong?
library instalation problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: library instalation problem
Thank you for providing this error message.
It looks like the compiler is getting confused about which library to use for OneWire.h
Can you move your current Arduino folder off your homedirectory to Arduino-1.8.18 and install the latest 1.8.19 then try to build your code. The fresh installation might help here and 1.8.19 is the legacy stable release we have focused on.
https://www.arduino.cc/en/software
It looks like the compiler is getting confused about which library to use for OneWire.h
Can you move your current Arduino folder off your homedirectory to Arduino-1.8.18 and install the latest 1.8.19 then try to build your code. The fresh installation might help here and 1.8.19 is the legacy stable release we have focused on.
https://www.arduino.cc/en/software
- kostasbo
- Posts: 2
- Joined: Thu Oct 27, 2022 3:32 am
Re: library instalation problem
Thank you!
I followed your instructions and everything is ok!
I followed your instructions and everything is ok!
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: library instalation problem
Good work and thank you for confirming the resolution.
Please be positive and constructive with your questions and comments.