Build Fails with latest commit. #148
Answered
by
davepl
SomerledDesign
asked this question in
Q&A
Replies: 1 comment 1 reply
-
All of our code is built using PlatformIO under VSCode, which it does look like you’re using.
Try running
platformio pkg update
See if that helps!
* Dave
From: somerledDesign ***@***.***>
Sent: Sunday, September 18, 2022 9:28 AM
To: PlummersSoftwareLLC/NightDriverStrip ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [PlummersSoftwareLLC/NightDriverStrip] Build Fails with latest commit. (Discussion #148)
I am trying to build the 'ledstrip' demo or any one for that matter and I get a lot of this...
Am I forgetting something?
I have the latest vscode and v1.8.19 of arduino...
The thing is I had an earlier commit of NightDriverStrip on my machine and it built well. So I downloaded the latest and haven't been able to build since.
pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:20:25: error: expected '}' before '__VA_OPT__' #define STUFF_P(a, ...) __VA_OPT__(a) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:19:21: note: in definition of macro 'EXPAND' #define EXPAND(...) __VA_ARGS__ ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:21:20: note: in expansion of macro 'STUFF_P' #define STUFF(...) STUFF_P(__VA_ARGS__) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:25:28: note: in expansion of macro 'STUFF' #define COND_P(cond, a, b) STUFF(a, cond)STUFF(b, NEGATE(cond)) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:26:33: note: in expansion of macro 'COND_P' #define COND(cond, a, b) EXPAND(COND_P(cond, a, b)) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:292:5: note: in expansion of macro 'COND' COND(DECODE_RC5 || SEND_RC5, ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:20:25: error: expected ',' or ';' before '__VA_OPT__' #define STUFF_P(a, ...) __VA_OPT__(a) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:19:21: note: in definition of macro 'EXPAND' #define EXPAND(...) __VA_ARGS__ ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:21:20: note: in expansion of macro 'STUFF_P' #define STUFF(...) STUFF_P(__VA_ARGS__) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:25:28: note: in expansion of macro 'STUFF' #define COND_P(cond, a, b) STUFF(a, cond)STUFF(b, NEGATE(cond)) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:26:33: note: in expansion of macro 'COND_P' #define COND(cond, a, b) EXPAND(COND_P(cond, a, b)) ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:292:5: note: in expansion of macro 'COND' COND(DECODE_RC5 || SEND_RC5, ^ .pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:538:1: error: expected declaration before '}' token }; ^ *** [.pio/build/ledstrip/lib601/IRremoteESP8266/IRtext.cpp.o] Error 1 ========================================== [FAILED] Took 12.61 seconds ==========================================
Environment Status Duration
…_____
ledstrip FAILED 00:00:12.606
===================================== 1 failed, 0 succeeded in 00:00:12.606 =====================================
—
Reply to this email directly, view it on GitHub <#148> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF6GUCBRI2K4YWY6X43V647KFANCNFSM6AAAAAAQPQJJMI> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/AA4HCF32OJFI6ZLKAGVM6BLV647KFA5CNFSM6AAAAAAQPQJJMKWGG33NNVSW45C7OR4XAZNKIRUXGY3VONZWS33OVJRW63LNMVXHIX3JMTHAAQZLBU.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SomerledDesign
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build the 'ledstrip' demo or any one of them, for that matter, and I get a lot of this...
Am I forgetting something?
I have the latest vscode and v1.8.19 of arduino...
The thing is I had an earlier commit of NightDriverStrip on my machine and it built well. So I downloaded the latest and haven't been able to build since.
============== partial error log
pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:20:25: error: expected '}' before 'VA_OPT'
#define STUFF_P(a, ...) VA_OPT(a)
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:19:21: note: in definition of macro 'EXPAND'
#define EXPAND(...) VA_ARGS
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:21:20: note: in expansion of macro 'STUFF_P'
#define STUFF(...) STUFF_P(VA_ARGS)
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:25:28: note: in expansion of macro 'STUFF'
#define COND_P(cond, a, b) STUFF(a, cond)STUFF(b, NEGATE(cond))
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:26:33: note: in expansion of macro 'COND_P'
#define COND(cond, a, b) EXPAND(COND_P(cond, a, b))
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:292:5: note: in expansion of macro 'COND'
COND(DECODE_RC5 || SEND_RC5,
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:20:25: error: expected ',' or ';' before 'VA_OPT'
#define STUFF_P(a, ...) VA_OPT(a)
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:19:21: note: in definition of macro 'EXPAND'
#define EXPAND(...) VA_ARGS
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:21:20: note: in expansion of macro 'STUFF_P'
#define STUFF(...) STUFF_P(VA_ARGS)
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:25:28: note: in expansion of macro 'STUFF'
#define COND_P(cond, a, b) STUFF(a, cond)STUFF(b, NEGATE(cond))
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRmacros.h:26:33: note: in expansion of macro 'COND_P'
#define COND(cond, a, b) EXPAND(COND_P(cond, a, b))
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:292:5: note: in expansion of macro 'COND'
COND(DECODE_RC5 || SEND_RC5,
^
.pio/libdeps/ledstrip/IRremoteESP8266/src/IRtext.cpp:538:1: error: expected declaration before '}' token
};
^
*** [.pio/build/ledstrip/lib601/IRremoteESP8266/IRtext.cpp.o] Error 1
========================================== [FAILED] Took 12.61 seconds ==========================================
Environment Status Duration
ledstrip FAILED 00:00:12.606
===================================== 1 failed, 0 succeeded in 00:00:12.606 =====================================
Beta Was this translation helpful? Give feedback.
All reactions