Elecron & Particle Web IDE

OK, this is wrong.
When you import a library you are not supposed to also add file tabs featuring the same stuff as in the imported libraries.
After removing these and selecting a suitable target it builds for my Electron
https://go.particle.io/shared_apps/59230479ca5cbafa5a000b49

Thsnks …i added the file tabs as an experiment …ill try it when i get back to the house

Nope…Won’t compile for my electron

src/the_user_app.cpp:3:21: fatal error: OneWire.h: No such file or directory
#include “OneWire.h”
^
compilation terminated.
make[1]: *** […/build/target/user/platform-10src/the_user_app.o] Error 1
make: *** [user] Error 2

even if I use a completely different sketch …right from examples same thing https://go.particle.io/shared_apps/5923150bca5cba8c26000c15

src/ds18x20_temperature.cpp:21:18: fatal error: DS18.h: No such file or directory
*/
^
compilation terminated.
make[1]: *** […/build/target/user/platform-10src/ds18x20_temperature.o] Error 1
make: *** [user] Error 2

Ill try from My Linux Computer

Can you post a screenshot of Web IDE with the target drawer open and the target device details shown?

I am using Windows and Chrome and this works each time (but only with recent version targets)

Try clearing the cache or use incognito mode.

Ok figured it out …I had to upgrade my Electron to 6.0 then everything compiled properly …This is one for the books thanks a lot for your help

1 Like