How to Setup Particle Dev Environment


I’m moving from the Build IDE to the Dev IDE. In Particle Dev, I tried compiling one of the simple InternetButton examples and am getting the error “InternetButton/InternetButton.h: No such file or directory” I went to Github and downloaded the InternetButton master project and copied the InternetButton.cpp and .h files into an InternetButton folder at the root of the example I am trying to compile. Still getting the error. Am I supposed to download all the libaries and place them somewhere locally…or shouldn’t it be compiling in the cloud and including those libraries automatically? Is there a document on how to setup my local Particle Dev environment?

Thanks for any help you can provide!

Try changing your include to “InternetButton.h”. That should help, since the file is in the same directory as your project.

Thanks. I got rid of all directories and placed the library in the root directory of my project and changed the include line as you suggested. All works fine now!

I guess I was hoping that community libraries would automagically get brought in during the cloud compile without having to download a local version of community libraries…wishful thinking, I guess.

Thanks again for your help.

1 Like