# Errors when compiling for Core (not Photon)

**URL:** <https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333>\
**Category:** Troubleshooting\
**Created:** [December 16, 2015, 4:35pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333 "2015-12-16T16:35:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pteja](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/pteja/32/5151_2.png) [@pteja](https://community.particle.io/u/pteja)\
**Post date:** [December 16, 2015, 4:35pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/1 "2015-12-16T16:35:02Z")

</div>

I am getting “strange” errors when compiling my code for core.

Exactly the same code was compiling perfectly well 2 days back for both Core & Photon.

Am using Particle Dev.

Here are the errors:  
[![](https://dl.dropboxusercontent.com/s/i0u31e5p7npovr5/Screenshot%202015-12-16%2017.25.01.png?dl=0) ](https://dl.dropboxusercontent.com/s/i0u31e5p7npovr5/Screenshot%202015-12-16%2017.25.01.png?dl=0)

`spark_wiring.h` is included from the cloud and not locally, so no chances that it was changed on my computer.

Similarly:

```
System.deviceID()

```

and

```
String::format

```

must work on both core & photon according to the documentation. Well - both have been working so far!

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 16, 2015, 4:54pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/2 "2015-12-16T16:54:07Z")

</div>

This seems to be a temporary issue with the build farm.  
With Web IDE you could select a targer system version other than “Latest (0.4.7)”, but with Dev you need to hope to get one of the working servers by trying several goes to build (as long you are sure not to have any errors tho’ 😉 )  
[https://github.com/spark/firmware/issues/769](https://github.com/spark/firmware/issues/769)

---

<div class="post-metadata">

**Author:** ![pteja](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/pteja/32/5151_2.png) [@pteja](https://community.particle.io/u/pteja)\
**Post date:** [December 16, 2015, 5:17pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/3 "2015-12-16T17:17:48Z")

</div>

Just read about a similar issue in [this post](http://community.particle.io/t/random-compiler-errors-on-system-thread-enabled/18301).

Option (A) if I want to solve it now and just tried uploading all 22 files in the web IDE - doesn’t work!!! Am sure made a copy-paste error somewhere.

Else (B) can only wait till the error resolves itself when I hit the right server.

Any way I can influence which server is being used for option (B). Maybe try a number of times!!! Change something…!!!

---

<div class="post-metadata">

**Author:** ![pteja](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/pteja/32/5151_2.png) [@pteja](https://community.particle.io/u/pteja)\
**Post date:** [December 16, 2015, 5:24pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/4 "2015-12-16T17:24:40Z")

</div>

Any way to escalate this issue? So that it gets resolved faster?

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 16, 2015, 7:31pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/5 "2015-12-16T19:31:54Z")

</div>

As the provided link did show already :particle: Particle is working already on it as quick as it gets and by now the problem should be resolved for the Photon.

Core and P1 are next  
[Random compiler errors on SYSTEM\_THREAD(ENABLED);](https://community.particle.io/t/random-compiler-errors-on-system-thread-enabled/18301/7)

* * *

_Escalating does not necessarily speed things up, it might even slow down, since the escalation needs to be dealt with too_

---

<div class="post-metadata">

**Author:** ![pteja](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/pteja/32/5151_2.png) [@pteja](https://community.particle.io/u/pteja)\
**Post date:** [December 17, 2015, 7:00pm UTC](https://community.particle.io/t/errors-when-compiling-for-core-not-photon/18333/6 "2015-12-17T19:00:11Z")

</div>

This just got fixed. See [this post](http://community.particle.io/t/random-compiler-errors-on-system-thread-enabled/18301/5).
