PandaPi icon indicating copy to clipboard operation
PandaPi copied to clipboard

Error on compiling: expected unqualified-id before numeric constant

Open AmEv7Fam opened this issue 3 years ago • 0 comments

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???

AmEv7Fam avatar Feb 02 '22 23:02 AmEv7Fam