Hi
Using Particle Photon with Particle Build.
Any programs that I have tried to compile which use libraries have so far failed to compile.
I always get a report saying that eg, xxxxxxxxxxxx.h no such file or directory.
I have included an example in a screen shot which shows the library file is included yet the
compiler says it’s not…
I’m using libraries from the ribbon tool and am saving at each stage.
Must be doing something silly but can’t figure it…
Thanks for the quick response…
You were quite right, removing the second one allows it to then compile…
This was just a test script so I went back to the one I really want to get working…
(Sparkfun Photon Weather Shield ) to see if I was doing that with two library calls but it has only one yet doesn’t compile…(see screen shot)
YEY!
Looked at line 42 and it was again, a second entry of the include library call…
Removed that and it now works so a huge massive thank you to you both…
A lesson learned which is a good thing…
No idea why I’m getting two library include entries but now at least I can watch out for it in future…
Of course, when I copy and paste the script into Particle Build it already includes the library include calls.
Then, PB inserts the calls again resulting in two identical calls…
Won’t make that mistake again…
You guys are stars!