Skip to content

Error on compiling: expected unqualified-id before numeric constant #41

Open
@AmEv7Fam

Description

@AmEv7Fam

Upon trying to compile the latest build, I get this error:

stderr:In file included from /usr/include/aarch64-linux-gnu/bits/fcntl.h:61,
                 from /usr/include/fcntl.h:35,
                 from src/MarlinCore.cpp:63:
src/sd/SdBaseFile.h: At global scope:
src/sd/SdBaseFile.h:51:15: error: expected unqualified-id before numeric constant
               O_RDONLY = O_READ,                // open() oflag - same as O_IN
               ^~~~~~~~

A quick google search brought up this, which suggest that it may be a conflict between Wi-Fi and SD libraries... which we may not need???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions