OSC (Open Sound Control) with Spark Core?

@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();

1 Like

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?

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