Library problems

I have been writting some code for my word clock. All was fine until last night, when I started getting errors relating to the libraries and their presence or otherwise. The clock is a long strip of neo pixels. I have included the neopixel library. I have had this code working for some days but then it just stopped and started giving me the followinf error,

word_clock_2.cpp:14:31: fatal error: neopixel/neopixel.h: No such file or directory
'#include "neopixel/neopixel.h"
^
compilation terminated.
make: *** [word_clock_2.o] Error 1

The first bit of my code is as follows,

'#include "application.h"
//#include "spark_disable_wlan.h" (for faster local debugging only)
'#include "neopixel/neopixel.h"

// IMPORTANT: Set pixel COUNT, PIN and TYPE
'#define PIXEL_PIN D2
'#define PIXEL_COUNT 107
'#define PIXEL_TYPE WS2812B

Any ideas what is going on?

I thought I had solved it last night by cutting the exact same code from this app and putting it into a newly created app. This worked but only for a short time.

Any ideas?

Any help would be much appreciated :wink:

Julian

Hi @Julian

I think a few people are having problems with that right now and @Dave is investigating.

2 Likes

Hi Julian, Sorry to hear of the problems. There have been a few other reports of vanishing libraries, and the spark IDE team are looking at it. In the meantime, a workaround is to remove the library from your app and then add it again. That will get compilation working.

3 Likes

Indeed, sorry about the troubles @Julian , we are actively investigating this now. Could you PM me the app build URLs where the problem you described above occurred (i.e. https://www.spark.io/build/SOME_ID_HERE), so I can look more closely at the underlying logs, events, and database while troubleshooting this issue?

1 Like

@bko @mdma @jgoggins,

Thank you very much for your quick response. I thought it was just me!

I am sure with you lot on the case it will get sorted out pretty soon.

Cheers,

Julian

2 Likes