sudden error--> section attribute not allowed for 'prog_char'

Hi, did you ever experience this annoying error? My whole codes were 100% working a while ago, and then suddenly the IDE returns me now this error:

[b]In file included from USSRMICRa.ino:3:
E:\Program Files (x86)\Arduino\libraries\Adafruit_CC3000/utility/debug.h:28: error: section attribute not allowed for 'prog_char'[/b]

ANNOYING!!!!!!!!!!!! @_@. I restarted my laptop just to be sure, error still exists.

Please help. The return was in Adafruit_CC3000 library. I swear my whole codes (including the backups) were fine a while ago. But now I can't even compile it (check). :sob:

Wth is wrong with this IDE? I just ughhhhhhhh, I tried to UPLOAD the sketch without clicking the CHECK (compile) and then it uploaded, and then I tried to click the CHECK button, and it compiled.

Solved! I just wasted my 1 hr :((( probable cause: connect the board and then upload.

glenn_boy13:

In file included from USSRMICRa.ino:3:
E:\Program Files (x86)\Arduino\libraries\Adafruit_CC3000/utility/debug.h:28: error: section attribute not allowed for 'prog_char'

That error means that you have the Adafruit_CC3000 library installed in the Arduino IDE libraries folder. You should be installing third-party libraries in a 'libraries' folder in your sketch folder. Something like: E:\Users\yourname\MyDocuments\Arduino\libraries

I think that error happens when you use a 1.5.x bets-test version of Arduino. What version IDE do you have installed? Did you change it since the last time those sketches worked?

johnwasser:
That error means that you have the Adafruit_CC3000 library installed in the Arduino IDE libraries folder. You should be installing third-party libraries in a 'libraries' folder in your sketch folder. Something like: E:\Users\yourname\MyDocuments\Arduino\libraries

I think that error happens when you use a 1.5.x bets-test version of Arduino. What version IDE do you have installed? Did you change it since the last time those sketches worked?

Hi sir John Wasser, I use 1.0 and 1.0.6 IDE. Yes, I put my Adafruit_CC3000 library in my Arduino IDE libraries folder, and it was working and then the error happened and then it was gone. I really think connecting the board solved the issue. I hope I won't experience this error again in the future.

Thanks

Glenn