Lost libraries during compile

I installed Arduino IDE on my D drive, for some reason the system has libraries on both C and D. Is some of my sketches (stored on D drive) I get some programs that compile just fine, but others using the same libraries tell me that the library is not found, any ideas?

Adruino Version
Version: 2.3.10
Date: 2026-06-09T16:48:46.639Z
CLI Version: 1.5.1

Copyright © 2026 Arduino s.r.l. and/or its affiliated companies

Please post the full paths to where the libraries are located on both drives

C:\Users\hoengager\AppData\Local\Arduino15
D:\Arduino\libraries

In the C drive the libraries are in a few different folders

Hi @glacierbill.

Please provide the output from a compilation of the program that is successful, and also the output from a compilation of the program using the same library that fails.

I'll provide instructions you can follow to do that:

  1. Open the working sketch in Arduino IDE.
  2. Select Sketch > Verify/Compile from the Arduino IDE menus.
  3. Wait for the compilation to fail.
  4. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  5. Open a reply here on this forum topic by clicking the "Reply" button.
  6. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  7. Press the Ctrl+V keyboard shortcut.
    This will paste the compilation output into the code block.
  8. Move the cursor outside of the code block markup.

Now repeat the process for the non-working sketch:

  1. Open the non-working sketch in Arduino IDE.
  2. Select Sketch > Verify/Compile from the Arduino IDE menus.
  3. Wait for the compilation to fail.
  4. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  5. Click the <CODE/> icon on the post composer toolbar.
  6. Press the Ctrl+V keyboard shortcut.
  7. Click the "Reply" button to publish the post.

Unfortunately I do not remember what I was doing when last I got the error, but for now all the sketches seam to be working, I will post the error as soon as it shows up again.
The error comes and goes

I'm glad everything is working for you at the moment. I'll keep my fingers crossed that the problem has resolved on its own. We will be here to help if you do encounter it again.

D:\Arduino\WS2812B_NeoPixel_Alarm_Clock_3\WS2812B_NeoPixel_Alarm_Clock_3.ino:1:10: fatal error: Wire.h: No such file or directory
#include <WiFi.h>
^~~~~~~~
compilation terminated.
exit status 1

Compilation error: Wire.h: No such file or directory

#include <Wire.h>
#include <RTClib.h>
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>

#define DATA_PIN          6
#define INTERRUPT_PIN     2  // Pin 2 supports external interrupts on Uno R4

RTC_DS3231 rtc;

// Matrix configuration: 32 columns wide, 8 rows high
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(32, 8, DATA_PIN,
  NEO_MATRIX_TOP     + NEO_MATRIX_LEFT +
  NEO_MATRIX_COLUMNS + NEO_MATRIX_ZIGZAG,
  NEO_GRB            + NEO_KHZ800);

// Interrupt control variables
volatile bool buttonPressed = false;
unsigned long lastDebounceTime = 0;
const unsigned long debounceDelay = 250; 

// Your custom scrolling text message
const String scrollMessage = "ALARM TRIGGERED! EMERGENCY ALERT!";

void setup() {
  Serial.begin(9600);
  
  pinMode(INTERRUPT_PIN, INPUT_PULLUP);
  attachInterrupt(digitalPinToInterrupt(INTERRUPT_PIN), buttonISR, FALLING);

  if (!rtc.begin()) {
    Serial.println("Couldn't find RTC");
    while (1);
  }

  if (rtc.lostPower()) {
    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
  }

  matrix.begin();
  matrix.setTextWrap(false); 
  matrix.setBrightness(30);
}

void loop() {
  // Check if the interrupt flag was set by a button press
  if (buttonPressed) {
    buttonPressed = false; 
    scrollTextMessage(scrollMessage);
  }

  // Standard Clock Mode
  DateTime now = rtc.now();
  int hour24 = now.hour();
  int minute = now.minute();
  int second = now.second(); // Fetch current second for the blink state
  
  bool isPM = (hour24 >= 12);
  int hour12 = hour24 % 12;
  if (hour12 == 0) hour12 = 12;

  // Determine if colon should show (true on even seconds, false on odd seconds)
  bool showColon = (second % 2 == 0);

  displayTime(hour12, minute, isPM, showColon);
  delay(50); // Tight loop delay ensures instant button response
}

void displayTime(int h, int m, bool pm, bool showColon) {
  matrix.fillScreen(0);
  matrix.setCursor(0, 0);
  matrix.setTextColor(matrix.Color(0, 255, 100)); // Green text

  // Format hour with leading space if less than 10
  String hourStr = (h < 10) ? " " + String(h) : String(h);
  
  // Choose separating character based on showColon state
  String separator = showColon ? ":" : " ";
  
  String timeStr = hourStr + separator + (m < 10 ? "0" : "") + String(m);
  matrix.print(timeStr);

  // AM/PM Dot
  uint16_t amPmColor = pm ? matrix.Color(255, 0, 0) : matrix.Color(0, 0, 255);
  matrix.drawPixel(31, 7, amPmColor); 

  matrix.show();
}

// The Interrupt Service Routine (ISR)
void buttonISR() {
  unsigned long currentTime = millis();
  if ((currentTime - lastDebounceTime) > debounceDelay) {
    buttonPressed = true;
    lastDebounceTime = currentTime;
  }
}

// Blocking loop function that scrolls text cleanly exactly once
void scrollTextMessage(String text) {
  int messagePixelWidth = text.length() * 6;
  
  for (int x = 32; x >= -messagePixelWidth; x--) {
    matrix.fillScreen(0); 
    matrix.setCursor(x, 0);
    matrix.setTextColor(matrix.Color(255, 255, 0)); // Yellow scrolling text
    matrix.print(text);
    matrix.show();
    
    delay(40); // Controls the speed of the scroll
    
    if (buttonPressed) {
       buttonPressed = false; // Clear accidental double triggers during scroll
    }
  }
}

This one works

#include <Wire.h>
#include <RTClib.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

// --- PIN DEFINITIONS ---
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
#define OLED_RESET -1
#define SCREEN_ADDRESS 0x3C // Change to 0x3D if your OLED uses that address
#define BUZZER_PIN 8
#define BTN_SET 2
#define BTN_DISMISS 3

// --- OBJECT INITIALIZATION ---
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
RTC_DS3231 rtc;

// --- STATE VARIABLES ---
char daysOfTheWeek[7][12] = {
" Sunday", " Monday", " Tuesday", "Wednesday", "Thursday", " Friday", "Saturday"
};
int year=0;
int hour=0;
int hourNow=0;
int yearNow=0;
char datestr[10];

void setup() {
  Serial.begin(115200);
  
/*  // Use internal pull-ups for buttons (Active LOW)
  pinMode(BTN_SET, INPUT_PULLUP);
  pinMode(BTN_DISMISS, INPUT_PULLUP);
*/

  // 1. Initialize OLED with error handling
  if(!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
    Serial.println(F("SSD1306 allocation failed"));
    for(;;); // Halt execution
  }
  display.clearDisplay();
  display.setTextColor(SSD1306_WHITE);
  display.setTextSize(2);
  display.setCursor(0, 10);
  display.println("Booting...");
  display.display();

  // 2. Initialize RTC with error handling
    if (!rtc.begin()) {
    Serial.println(F("Couldn't find RTC on I2C bus"));
    display.clearDisplay();
    display.setCursor(0,0);
    display.println("RTC FAIL");
    display.display();
    for(;;); // Halt execution
  }

  // 3. Check for power loss and set compile-time if needed
  if (rtc.lostPower()) {
    Serial.println(F("RTC lost power, setting to compile time."));
    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
  }

}

void loop() {
//display.print ("IOK");
//display.display();

  DateTime now = rtc.now();
  display.clearDisplay();
  
  // --- DISPLAY LOGIC ---
  // Display Time
  display.setTextSize(2);
  display.setCursor(15, 5);
  hourNow=now.hour();
    if (hourNow > 12) {
    hourNow=(now.hour()-12);
    }
  if(hourNow < 10) display.print(' ');
  display.print(hourNow);
  display.print(':');
  if(now.minute() < 10) display.print('0');
  display.print(now.minute());
  if(now.hour() < 11) {
    display.print(" AM");
  }
  else {
    display.print(" PM");
  }

// Display Day of the week
  display.setTextSize(2);
  display.setCursor(18, 25);
  display.println(daysOfTheWeek[now.dayOfTheWeek()]);
//  display.display();

// Display Date
/*
  display.setTextSize(2);
  display.setCursor(18, 45);
  sprintf(datestr, "%02d/%02d/%02d", now.day(), now.month(), now.year());
  display.print(datestr);
*/
  display.setTextSize(2);
  display.setCursor(20, 45);
  if(now.day() < 10) display.print(' ');
  display.print(now.day());
  display.print('/');
  if(now.month() < 10) display.print(' ');
  display.print(now.month());
  display.display();
  display.print('/');
  yearNow=(now.year()-2000);
  display.print(yearNow);
  display.display();
  display.print(' ');
  display.display();
  
delay (1000);
}

It is really great having this resource. Many thank to all.

Also I notice when I float my mouse over each <Wires.h> it shows a different location for the file

Update, once I changed to use the same Arduino the addresses are the same, but still fails on the one sketch

Select File > Save from the Arduino IDE menus, then try compiling the sketch again. Does the error still occur when you do that?

Have you got the same Arduino board selected when you try to compile your working/not working sketches and which board is it ?

I originally did not, but I switched to the same board and still get the error

Please clarify. Are you saying that if you have the same board selected when compiling either sketch then one gives the error and one doesn't ?

Please turn on verbose output for compiling in the IDE, compile each sketch with the same board elected and post the full output from each compilation, including the full error message, using code tags when you post the output

Exactly which board have you got selected in the IDE ?

Which version of the IDE are you using ?

Yes, both are using the same Arduino R4 Wifi on com 5

I am not sure what you meant with using code tags but I copied the code error message and the compile data.

type or paste code here
FQBN: arduino:renesas_uno:unor4wifi
Using board 'unor4wifi' from platform in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0
Using core 'arduino' from platform in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0

Detecting libraries used...
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE/WS2812B_NeoPixel_Alarm_Clock_3.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE\sketch\WS2812B_NeoPixel_Alarm_Clock_3.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE\sketch\WS2812B_NeoPixel_Alarm_Clock_3.ino.cpp.merged.libsdetect.d
Alternatives for WiFi.h: [WiFiS3@0.0.0]
ResolveLibrary(WiFi.h)
  -> candidates: [WiFiS3@0.0.0]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE/WS2812B_NeoPixel_Alarm_Clock_3.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\WiFiS3\src -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE\sketch\WS2812B_NeoPixel_Alarm_Clock_3.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\2B20745DAE6B84F0F63B03E45F4E8FBE\sketch\WS2812B_NeoPixel_Alarm_Clock_3.ino.cpp.merged.libsdetect.d
D:\Arduino\WS2812B_NeoPixel_Alarm_Clock_3\WS2812B_NeoPixel_Alarm_Clock_3.ino:1:10: fatal error: Wire.h: No such file or directory
 #include <WiFi.h>
          ^~~~~~~~
compilation terminated.
Alternatives for WiFi.h: [WiFiS3@0.0.0]
ResolveLibrary(WiFi.h)
  -> candidates: [WiFiS3@0.0.0]
exit status 1

Compilation error: Wire.h: No such file or directory

And this one worked


`FQBN: arduino:renesas_uno:unor4wifi
Using board 'unor4wifi' from platform in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0
Using core 'arduino' from platform in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0

Detecting libraries used...
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for Wire.h: [Wire]
ResolveLibrary(Wire.h)
  -> candidates: [Wire]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for RTClib.h: [RTClib@2.1.4]
ResolveLibrary(RTClib.h)
  -> candidates: [RTClib@2.1.4]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for Adafruit_I2CDevice.h: [Adafruit BusIO@1.17.4]
ResolveLibrary(Adafruit_I2CDevice.h)
  -> candidates: [Adafruit BusIO@1.17.4]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -Id:\Arduino\libraries\Adafruit_BusIO -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for Adafruit_GFX.h: [Adafruit GFX Library@1.13.0]
ResolveLibrary(Adafruit_GFX.h)
  -> candidates: [Adafruit GFX Library@1.13.0]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -Id:\Arduino\libraries\Adafruit_BusIO -Id:\Arduino\libraries\Adafruit_GFX_Library -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for SPI.h: [SPI]
ResolveLibrary(SPI.h)
  -> candidates: [SPI]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -Id:\Arduino\libraries\Adafruit_BusIO -Id:\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\SPI -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Alternatives for Adafruit_SSD1306.h: [Adafruit SSD1306@2.5.17]
ResolveLibrary(Adafruit_SSD1306.h)
  -> candidates: [Adafruit SSD1306@2.5.17]
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -Id:\Arduino\libraries\Adafruit_BusIO -Id:\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\SPI -Id:\Arduino\libraries\Adafruit_SSD1306 -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o nul -MMD -MF C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged.libsdetect.d
Using cached library dependencies for file: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire\Wire.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_DS1307.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_DS3231.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_Micros.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_Millis.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_PCF8523.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTC_PCF8563.cpp
Using cached library dependencies for file: d:\Arduino\libraries\RTClib\src\RTClib.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_BusIO\Adafruit_GenericDevice.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_GFX_Library\glcdfont.c
Using cached library dependencies for file: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\SPI\SPI.cpp
Using cached library dependencies for file: d:\Arduino\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp
Generating function prototypes...
C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/tinyusb -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino/api/deprecated-avr-comp -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\cores\arduino -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4 -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire -Id:\Arduino\libraries\RTClib\src -Id:\Arduino\libraries\Adafruit_BusIO -Id:\Arduino\libraries\Adafruit_GFX_Library -IC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\SPI -Id:\Arduino\libraries\Adafruit_SSD1306 -iprefixC:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0 @C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\variants\UNOWIFIR4/includes.txt C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\sketch\Clock.ino.cpp.merged -o C:\Users\hoengager\AppData\Local\Temp\3732378946\sketch_merged.cpp
C:\Users\hoengager\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\hoengager\AppData\Local\Temp\3732378946\sketch_merged.cpp

Compiling sketch...
"C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -MMD -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -MMD -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -DARDUINO=10607 "-DPROJECT_NAME=\"C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino\"" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb "@C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/defines.txt" -DCFG_TUSB_MCU=OPT_MCU_RAXXX "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\cores\\arduino/tinyusb" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\cores\\arduino" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\libraries\\Wire" "-Id:\\Arduino\\libraries\\RTClib\\src" "-Id:\\Arduino\\libraries\\Adafruit_BusIO" "-Id:\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\libraries\\SPI" "-Id:\\Arduino\\libraries\\Adafruit_SSD1306" "-iprefixC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0" "@C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/includes.txt" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\sketch\\Clock.ino.cpp" -o "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\sketch\\Clock.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Wire\Wire.cpp.o
Compiling library "RTClib"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_Millis.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_DS1307.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_Micros.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_DS3231.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_PCF8563.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTClib.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\RTClib\RTC_PCF8523.cpp.o
Compiling library "Adafruit BusIO"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_BusIO\Adafruit_GenericDevice.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_BusIO\Adafruit_I2CDevice.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_BusIO\Adafruit_BusIO_Register.cpp.o
Compiling library "Adafruit GFX Library"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_GFX_Library\glcdfont.c.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_GFX_Library\Adafruit_GrayOLED.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_GFX_Library\Adafruit_SPITFT.cpp.o
Compiling library "SPI"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\SPI\SPI.cpp.o
Compiling library "Adafruit SSD1306"
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp.o
Compiling core...
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\core\tmp_gen_c_files\pin_data.c.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\core\tmp_gen_c_files\common_data.c.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\core\tmp_gen_c_files\main.c.o
Using previously compiled file: C:\Users\hoengager\AppData\Local\arduino\sketches\0C8F725B6AFE6B1F9494C78025DE2387\core\variant.cpp.o
Using precompiled core: C:\Users\hoengager\AppData\Local\arduino\cores\arduino_renesas_uno_unor4wifi_88b87344b7980121041f02857575355e\core.a
Linking everything together...
"C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -Wl,--gc-sections --specs=nosys.specs -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.elf" "-LC:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387" "-LC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4" "-TC:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/fsp.ld" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\sketch\\Clock.ino.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Wire\\Wire.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_DS1307.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_DS3231.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_Micros.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_Millis.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_PCF8523.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTC_PCF8563.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\RTClib\\RTClib.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_BusIO\\Adafruit_BusIO_Register.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_BusIO\\Adafruit_GenericDevice.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_BusIO\\Adafruit_I2CDevice.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_BusIO\\Adafruit_SPIDevice.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_GFX_Library\\Adafruit_GrayOLED.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_GFX_Library\\Adafruit_SPITFT.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_GFX_Library\\glcdfont.c.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\SPI\\SPI.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\libraries\\Adafruit_SSD1306\\Adafruit_SSD1306.cpp.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\core\\tmp_gen_c_files\\common_data.c.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\core\\tmp_gen_c_files\\main.c.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\core\\tmp_gen_c_files\\pin_data.c.o" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387\\core\\variant.cpp.o" -Wl,--whole-archive -Wl,--start-group "C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.6.0\\variants\\UNOWIFIR4/libs/libfsp.a" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/..\\..\\cores\\arduino_renesas_uno_unor4wifi_88b87344b7980121041f02857575355e\\core.a" -Wl,--no-whole-archive --specs=nano.specs -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group "-Wl,-Map,C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.map"
"C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary -j .text -j .data "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.elf" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.bin"
"C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -j .text -j .data "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.elf" "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.hex"
Using library Wire in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\Wire (legacy)
Using library RTClib at version 2.1.4 in folder: D:\Arduino\libraries\RTClib 
Using library Adafruit BusIO at version 1.17.4 in folder: D:\Arduino\libraries\Adafruit_BusIO 
Using library Adafruit GFX Library at version 1.13.0 in folder: D:\Arduino\libraries\Adafruit_GFX_Library 
Using library SPI in folder: C:\Users\hoengager\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.6.0\libraries\SPI (legacy)
Using library Adafruit SSD1306 at version 2.5.17 in folder: D:\Arduino\libraries\Adafruit_SSD1306 
"C:\\Users\\hoengager\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-size" -A "C:\\Users\\hoengager\\AppData\\Local\\arduino\\sketches\\0C8F725B6AFE6B1F9494C78025DE2387/Clock.ino.elf"
Sketch uses 71932 bytes (27%) of program storage space. Maximum is 262144 bytes.
Global variables use 9436 bytes (28%) of dynamic memory, leaving 23332 bytes for local variables. Maximum is 32768 bytes.`

IDE
Version: 2.3.10
Date: 2026-06-09T16:48:46.639Z
CLI Version: 1.5.1

Copyright © 2026 Arduino s.r.l. and/or its affiliated companies

@glacierbill it seems you did not read post #10. Please perform the procedure I described there and then tell us the result:

I did not see that, I saved it and it did work, I will try that next time I get the error and will let everyone know if it happens again, but I think that solved my problem

OK, great. This is an unfortunate bug with the sketch build system:

I apologize for any confusion it has caused you.

It only occurs when the sketch is in an unsaved state. You now know one workaround, which is to manually save the sketch when you encounter the problem. An alternative is to enable Arduino IDE's auto save feature, which will ensure your sketch is always in a saved state. I'll provide instructions you can follow to do that:

  1. Select File > Preferences... from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Check the box next to "Auto save" in the "Preferences" dialog.
  3. Click the "OK" button.
    The "Preferences" dialog will close.

The use of the auto save feature will of course cause you to lose control over the saving of the sketch. You will need to decide whether or not you find this acceptable. It seems the auto save behavior is increasingly the default for modern applications, so apparently most people prefer the convenience of their project always being saved over having to trigger saves manually.