Skip to content

Problem in RTCLib #37

Closed
Closed

Description

@pwnel

Code doesn't compile due to problem in RTCLib. Happens for both OpenCTD_mo.ino and RTC_Reset.ino

In file included from /Users/pwnel/Downloads/OpenCTD_m0/OpenCTD_m0.ino:3:
/Users/pwnel/Documents/Arduino/libraries/RTClib/src/RTClib.h:25:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
25 | #include <Adafruit_I2CDevice.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

Activity

  1. pwnel commented on Feb 11, 2024

    @pwnel
    Author

    This seems to be solved by explicitly installing the Library "Adafruit_BusIO" in addition. This is not stated in the build manual.

  2. DrAndrewThaler commented on Feb 12, 2024

    @DrAndrewThaler
    Collaborator

    Hello and thank you for bringing this to my attention! I'm glad you found a work-around, which I'll make a note of in the readme while we incorporate it into the manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions