# Ntp-time no longer compiles

**URL:** <https://community.particle.io/t/ntp-time-no-longer-compiles/27590>\
**Category:** Libraries\
**Created:** [November 29, 2016, 2:54pm UTC](https://community.particle.io/t/ntp-time-no-longer-compiles/27590 "2016-11-29T14:54:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcomeau](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rcomeau/32/7593_2.png) [@rcomeau](https://community.particle.io/u/rcomeau)\
**Post date:** [November 29, 2016, 2:54pm UTC](https://community.particle.io/t/ntp-time-no-longer-compiles/27590/1 "2016-11-29T14:54:57Z")

</div>

I have a photon that uses the ntp-time library. It compiled with firmware .6.0. Now I recompile the same sketch and I get a compile error:  
/workspace/ntp-time/ntp-time.h:19:3: error: ‘Timer’ does not name a type  
Timer\* timer;

Don’t know what has changed, My sketch didn’t.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [November 29, 2016, 3:20pm UTC](https://community.particle.io/t/ntp-time-no-longer-compiles/27590/2 "2016-11-29T15:20:47Z")

</div>

I would double-check that your Photon is the selected device you’re targeting (with the gold star). If it becomes deselected, then builds generally default to Core, and Core doesn’t support software timers, causing the error above.

---

<div class="post-metadata">

**Author:** ![rcomeau](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rcomeau/32/7593_2.png) [@rcomeau](https://community.particle.io/u/rcomeau)\
**Post date:** [November 29, 2016, 3:35pm UTC](https://community.particle.io/t/ntp-time-no-longer-compiles/27590/3 "2016-11-29T15:35:06Z")

</div>

Ok, I actually had a pi selected, sorry.
