Hi - this is possibly a stupid question, sorry.
I’ve got code that runs well, VSCode and Platform were much easier to get going than CLion.
I have used EasyLogger for some time now, no issues so far.
I tried adding ArduinoJSON.
If either one is installed without the other, things are great.
If I install them both, I get an error about a particular line in the EasyLogger.h
.pio/libdeps/nodemcu-32s/EasyLogger/src/EasyLogger.h:13:18:
error: expected unqualified-id before string constant
#define endl "\r\n"
I am not sure at all how or why this is happening. Is it something like the JSON library trying to set a conflicting set for that or something… It also happens no matter the order I put the includes in.
Thanks!
EDIT: I did switch to ArduinoLogger and no errors, still really curious