# OSC (Open Sound Control) with Spark Core?

**URL:** <https://community.particle.io/t/osc-open-sound-control-with-spark-core/371>\
**Category:** Firmware\
**Created:** [August 30, 2013, 1:17pm UTC](https://community.particle.io/t/osc-open-sound-control-with-spark-core/371 "2013-08-30T13:17:48Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![sneakthief](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/sneakthief/32/1563_2.png) [@sneakthief](https://community.particle.io/u/sneakthief)\
**Post date:** [September 4, 2014, 9:12pm UTC](https://community.particle.io/t/osc-open-sound-control-with-spark-core/371/42 "2014-09-04T21:12:20Z")

</div>

@trublion - your application.cpp needs an update:

```
// Get the IP address of the Spark Core and send it as an OSC Message
              
    	coreIPAddress = Network.localIP();
         	coreIPMessage.add(coreIPAddress[0]).add(coreIPAddress[1]).add(coreIPAddress[2]).add(coreIPAddress[3]);

```

Error message:

```
Network.localIP(); has been deprecated in favour of WiFi.localIP();

```

Change **coreIPAddress = Network.localIP();** to **coreIPAddress = WiFi.localIP();**

---

<div class="post-metadata">

**Author:** ![Louis](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@Louis](https://community.particle.io/u/Louis)\
**Post date:** [September 28, 2014, 1:33pm UTC](https://community.particle.io/t/osc-open-sound-control-with-spark-core/371/43 "2014-09-28T13:33:29Z")

</div>

Hi.  
I can’t compile the code using make in MacOS.

I get:  
collect2: error: ld returned 1 exit status  
make: \*\*\* [core-firmware.elf] Error 1

Any ideas how to resolve this?

---

<div class="post-metadata">

**Author:** ![acatus](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/acatus/32/4854_2.png) [@acatus](https://community.particle.io/u/acatus)\
**Post date:** [March 16, 2015, 8:46pm UTC](https://community.particle.io/t/osc-open-sound-control-with-spark-core/371/44 "2015-03-16T20:46:03Z")

</div>

I have exactly the same issue. Ay news on this matter?

[Previous page](https://community.particle.io/t/osc-open-sound-control-with-spark-core/371.md?page=2)
