totally new on platformIO
AM GETTING these errors while building arduino files although it builds fine .
totally new on platformIO
AM GETTING these errors while building arduino files although it builds fine .
Probably because you placed the library filed under âincludesâ folder in the SRC folder.
Move the files under SRC > includes to lib root folder. Platformio is a hackable ide. Not a direct replacement for arduino.
i kinda did figure it out ,but am not sure if its the right way.
*those are my custom headers inside include folder i did that to split up the entire program.
*i am not sure if its the right way to have variables inside a header and later add it to the main file.
*after adding an include guard it seemed to be working as expected.
Simply move all the files under âinoglow > src > includesâ to " inoglow > includes" and compile.
Just
#include âallinc.hâ will work.
You donât have to explicitly specify the includes folder. Pio searches by default in that location.
Try adding a #pragma once
to every .h file. Itâs the non-standard version of the include guard, but as a quick test, itâs easier to add without making a copy-and-paste error