# Library Include File Not Found Particle Dev

**URL:** <https://community.particle.io/t/library-include-file-not-found-particle-dev/36791>\
**Category:** Product Creation\
**Created:** [October 18, 2017, 9:46pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791 "2017-10-18T21:46:05Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![DougJohnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DougJohnson](https://community.particle.io/u/DougJohnson)\
**Post date:** [October 18, 2017, 9:46pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/1 "2017-10-18T21:46:05Z")

</div>

I am having trouble including libaries in Particle Dev for Windows. A minimalist example:

Today, I downloaded and installed Windows Particle Dev x64. I created a new project, TestLibraries. I added the library ntp-time 0.1.0. The TestLibraries.ino is:

```
#include "ntp-time.h"
// setup() runs once, when the device is first turned on.
void setup() {
  // Put initialization like pinMode and begin functions here.

}

// loop() runs over and over again, as quickly as it can execute.
void loop() {
  // The core of your code will likely live here.

}

```

The project. properties is:

```
name=TestLibraries
dependencies.ntp-time=0.1.0

```

When I compile this I get “ntp-time.h” not found.  
Firmware 0.6.2 on a Proton.

This compiles fine if I copy the library to the project instead of adding it.

Suggestions appreciated.  
Thanks,  
Doug

---

<div class="post-metadata">

**Author:** ![jimini](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jimini](https://community.particle.io/u/jimini)\
**Post date:** [October 18, 2017, 9:59pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/2 "2017-10-18T21:59:05Z")

</div>

> [@Library Include File Not Found Particle Dev](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791):
>
> I am having trouble including libaries in Particle Dev for Windows. A minimalist example: Today, I downloaded and installed Windows Particle Dev x64. I created a new project, TestLibraries. I added the library ntp-time 0.1.0. The TestLibraries.ino is: #include "ntp-time.h" // setup() runs once, when the device is first turned on. void setup() { // Put initialization like pinMode and begin functions here. } // loop() runs over and over again, as quickly as it can execute. void loop() { …

And this from @suda... "It has not been yet included in the latest standalone Desktop IDE app but we're working on it as we speak!"

---

<div class="post-metadata">

**Author:** ![DougJohnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DougJohnson](https://community.particle.io/u/DougJohnson)\
**Post date:** [October 18, 2017, 10:11pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/3 "2017-10-18T22:11:46Z")

</div>

I’m not using the stand alone IDE, I’m using the Atom based, compile in the cloud IDE.

This project compiles fine on the Mac version.  
Thanks,  
Doug

---

<div class="post-metadata">

**Author:** ![jimini](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jimini](https://community.particle.io/u/jimini)\
**Post date:** [October 18, 2017, 10:13pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/4 "2017-10-18T22:13:43Z")

</div>

Me too...  
sorry, wrong thread cite:

> [@Atom Projects / Library References / Not working as before?](https://community.particle.io/t/atom-projects-library-references-not-working-as-before/35448?source_topic_id=36563):
>
> Windows 10 just pulled an update I thought I deferred until later today (it was 9PM somewhere). In any event, after rebooting my Atom IDE apparently went thru an update procedure (it had been nagging about this with the small blue squirrel icon on the lower right of the status bar). All my projects up to now were using a collection of Particle libraries via the “+Add to current project” operation and were building without issue. I had not opted to “Copy to current project” for these projects.…

---

<div class="post-metadata">

**Author:** ![DougJohnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@DougJohnson](https://community.particle.io/u/DougJohnson)\
**Post date:** [October 18, 2017, 10:39pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/5 "2017-10-18T22:39:48Z")

</div>

OK. I need to replace particle dev profiles. Where do I do that?  
Thanks,  
Doug

Update: I searched my disk for particle-dev-profiles and found C:\Users\djohnson\AppData\Local\particledev\app-1.18.0\resources\app\node\_modules. I copied the 0.2.3 version to it and restarted Particle Dev. Still the same error.

Suggestions welcome.  
Thanks,  
Doug

---

<div class="post-metadata">

**Author:** ![jimini](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jimini](https://community.particle.io/u/jimini)\
**Post date:** [October 18, 2017, 11:42pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/6 "2017-10-18T23:42:58Z")

</div>

The profile paths issue was fixed.  
Using remote Particle libraries in the IDE doesn’t work currently and it’s being worked on.

There’s a beta/experimental local compiling IDE that runs in Docker, or you can copy the libraries to your local project folder and it will build properly. The downside to the latter is you push all your source for each build.

@suda is currently working on the remote library reference issue.

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [November 2, 2017, 10:24pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/7 "2017-11-02T22:24:25Z")

</div>

We’ve just released Particle Dev App [1.19.0](https://github.com/spark/particle-dev-app/releases/tag/v1.19.0) which should fix the “No such file or directory”. Let us know if this helped!

---

<div class="post-metadata">

**Author:** ![jimini](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@jimini](https://community.particle.io/u/jimini)\
**Post date:** [November 3, 2017, 1:35am UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/8 "2017-11-03T01:35:37Z")

</div>

Winner Winner, chicken dinner…🎉

I can build w/remote libraries again. As a comparison, builds would previously run at just under 2 minutes with these projects, now I can build in just over 30 seconds.

Thanks @suda

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 3, 2017, 7:26pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/9 "2017-11-03T19:26:57Z")

</div>

hello, i installed 1.19.0 and atom indicates that 1.19.0 is the latest build and gives a “no update available” message when i click “check for updates” but when i try to compile some code i get an error that states that a newer build is available that 1.19.0 is installed but 1.21.0 is available. sure enough 1.21.0 is up on github. is there any way within particledev to update atom or is atom code part of particledev.exe?

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [November 6, 2017, 12:11pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/10 "2017-11-06T12:11:47Z")

</div>

Hi Douglas, 1.19.0 is the latest version of Particle Dev App, our standalone IDE. It is usually a bit behind with Atom (hence the 1.21.0 suggestion in errors).  
Can you post a screenshot of the error you’re seeing when compiling?

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 6, 2017, 1:38pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/11 "2017-11-06T13:38:14Z")

</div>

hello suda, here is a screen shot of the error. thank you for the reply.

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/7/724b5eb94327ed895e449864126bbf8b85f392ad.png)

oops, here is one with stack trace,

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/4/416c0d05d4c7ea216f1707f947bcfc0e0e1665f0.png)

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 6, 2017, 1:55pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/12 "2017-11-06T13:55:07Z")

</div>

![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/b/bd9e69c263168f524c9a8e9d277d37fbd9dc1a5f.png)

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [November 6, 2017, 3:24pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/13 "2017-11-06T15:24:07Z")

</div>

Oh that’s interesting! I think this is caused by the existence of a directory which name ends with `.ino`. Could you try renaming it so something else?

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 6, 2017, 9:23pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/14 "2017-11-06T21:23:55Z")

</div>

yes, that was the problem. this was my first attempt at bringing an originally arduino sketch into the particle build system and i think i got confused at some point of the process. thanks.

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [November 7, 2017, 11:39am UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/15 "2017-11-07T11:39:24Z")

</div>

Good to know it works now. I [created an issue](https://github.com/spark/particle-dev/issues/230) to fix this.

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 7, 2017, 7:02pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/16 "2017-11-07T19:02:43Z")

</div>

well, if it makes the build product better then good ending to my mistake. btw, all the different arduino sketches and any related documentation i had habit of creating a folder with the sketch name and putting into a folder with all other sketches. what happened was i copied that particular sketch folder over to the particle dev without modifying the folder name. so, i spent some time this morning renaming about 60 folders taking that .ino out.

---

<div class="post-metadata">

**Author:** ![suda](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/suda/32/18449_2.png) [@suda](https://community.particle.io/u/suda)\
**Post date:** [November 8, 2017, 10:28am UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/17 "2017-11-08T10:28:34Z")

</div>

I would say that’s a good habit, just naming directories with extensions (like the .ino) might surface some bugs (like assumptions that if a file has an extension it can’t be a directory). Have you tried the **Start new project** command?  
 ![](https://suda-dropshare.s3-eu-west-1.amazonaws.com/Screen-Shot-2017-11-08-at-11.27.14.png)  
This would scaffold the whole project with metadata and preferred directory structure.

---

<div class="post-metadata">

**Author:** ![dkryder](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/dkryder/32/20382_2.png) [@dkryder](https://community.particle.io/u/dkryder)\
**Post date:** [November 8, 2017, 4:44pm UTC](https://community.particle.io/t/library-include-file-not-found-particle-dev/36791/18 "2017-11-08T16:44:36Z")

</div>

actually, pressing the start new project was my first action. then i nested the .ino folder into particle dev. and did a quick compile to get an idea of how the sketch would work. then i looked at some docs and got the impression that having any sub-directories was not allowed. but i was looking at some examples and those appeared to have sub-directories. anyway, i hit that error and found the thread that i entered my question. i’m learning how it all fits together. which is a good thing. thanks for the replies.
