Multiple libraries were found for "Wire.h"

Hello dear friends!
I am new to Arduino world. Currently working on project "LED Word clock".
Using Adafruit Pro Trinket - 5V 16MHz.
During uploading code, getting this error message:

Arduino: 1.8.5 (Mac OS X), Board: "Pro Trinket 5V/16MHz (USB)"
/Users/R/Downloads/LEDClockTested/LEDClockTested.ino:2:20: fatal error: RTClib.h: No such file or directory
#include <RTClib.h>

  • ^*
    compilation terminated.
    Multiple libraries were found for "Wire.h"
    Used: /Users/roman/Library/Arduino15/packages/adafruit/hardware/avr/1.4.9/libraries/Wire
    Not used: /Users/roman/Library/Arduino15/packages/arduino/hardware/avr/1.6.16/libraries/Wire
    exit status 1
    Error compiling for board Pro Trinket 5V/16MHz (USB).
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

Here is file
If someone have time to help me, I would really appreciate this!!!

MrMiele:

Multiple libraries were found for "Wire.h"

Used: /Users/roman/Library/Arduino15/packages/adafruit/hardware/avr/1.4.9/libraries/Wire
Not used: /Users/roman/Library/Arduino15/packages/arduino/hardware/avr/1.6.16/libraries/Wire

This is just a helpful message. It does not indicate a problem.

MrMiele:
/Users/R/Downloads/LEDClockTested/LEDClockTested.ino:2:20: fatal error: RTClib.h: No such file or directory
#include <RTClib.h>
^

This is the problem. It means you need to install the library that contains the file RTClib.h.

Thank you Pert! I installed few libraries and it works!!
Thanks again!

help me!!!!! what is my problem?

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Bare Conductive Touch Board"

C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\SPI\SPI.cpp: In static member function 'static void SPIClass::begin()':

C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\SPI\SPI.cpp:64:1: internal compiler error: Segmentation fault

}

^

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.

Multiple libraries were found for "Wire.h"
Used: C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\Wire
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire
Multiple libraries were found for "SPI.h"
Used: C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\SPI
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI
Multiple libraries were found for "EEPROM.h"
Used: C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\EEPROM
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\EEPROM
exit status 1
Error compiling for board Bare Conductive Touch Board.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Although the error message for your bug is a little different, I still think this will fix it:

This bug is specific to the 5.4.0-atmel3.6.1-arduino2 version of avr-gcc used by Arduino AVR Boards 1.6.22 and newer. It has been reported here:

Here's the traditional workaround:

  • Tools > Board > Boards Manager
  • Wait for downloads to finish.
  • When you move the mouse pointer over "Arduino AVR Boards", you will see a "Select version" dropdown menu appear. Select "1.6.21".
  • Click "Install".
  • Wait for installation to finish.
  • Click "Close".

If you have File > Preferences > Check for updates on startup checked, the Arduino IDE may occasionally notify you that a new version of Arduino AVR Boards is available, you'll need to refrain from updating back to the new Arduino AVR Boards version, otherwise you'll be back to seeing the segmentation fault error again.

hyechin:
Multiple libraries were found for "Wire.h"
Used: C:\Users\hyech\Documents\Arduino\hardware\bare-conductive-arduino\avr\libraries\Wire
Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire

This has nothing to do with the segmentation fault error. It's just the Arduino IDE displaying some useful information. When you have an #include directive in your code for a file that is found in multiple libraries, the Arduino IDE tries to be smart about picking the best one. Usually it gets it right, but occasionally it picks the wrong one. For this reason, when there were multiple libraries found for a file, it tells you where the libraries are at and which one was used so you can check to make sure the right one was used. In this case, the right one was used, so you have nothing to worry about.

wow!!!!!!!!!!!!!!!!!!!!!!! very nice!!!!!! thank you so much!!!!!

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per