1.6.8 (and 1.6.7) find MANY invalid libraries

Why is this and is it accurate?

If I update (and is there a way to do that as a batch?) will I be able to ues them with older versions?

Franklin:
Why is this and is it accurate?

There have been some changes in the way the libraries are processed so the Arduino IDE is a bit more picky about the format now. Also, some of them may have always been invalid and you just never knew because the older versions of the IDE didn't display the warning.

Franklin:
will I be able to ues them with older versions?

Yes, you can fix all the invalid libraries so they will work with any version they used to work with.

Franklin:
is there a way to do that as a batch?)

No, usually there will be a variety of reasons why they are invalid but the fix is easy(assuming you will actually provide me with enough information to determine what the problem is). You don't need to edit the source code at all, only the folder structure or metadata file(library.properties).

Please post the full warning message and links to where you downloaded the libraries or a print out/screen shot of your libraries folder showing all subfolders and I'll tell you how to fix them and if possible try to get the library author to fix the library if they haven't already done so.

OK here goes:

would not let me insert it (too long) so I attached a file

Arduino_1.6.8_errors.txt (16.5 KB)

pert:
and links to where you downloaded the libraries or a print out/screen shot of your libraries folder showing all subfolders

You forgot to give me that information. Please do the following:

  • Windows Start Menu > Run > type "cmd" > Enter
  • type: dir/s C:\Users\Stephen\Documents\Arduino\libraries > C:\Users\Stephen\Desktop\libraryfolders.txt
  • Press Enter
  • attach the file libraryfolders.txt on your desktop to a post here.

This will do a directory listing of all subfolders of your libraries folder so I can see how you need to change the folder structure of each library to make them valid. If you provide me with a link to where you downloaded the libraries I will see if I can get them fixed so others don't have the same problem.

It's actually not as bad as it seems from the error messages because actually it's just repeating the same set of messages 13 times.

Sorry, here's the file

library_folders.txt (358 KB)

Franklin:
Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\AccelStepper

This library is missing the file AccelStepper.h. You should delete C:\Users\Stephen\Documents\Arduino\libraries\AccelStepper and reinstall the library.

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\CC3000_MDNS

This library is missing the file CC3000_MDNS.h. You should delete C:\Users\Stephen\Documents\Arduino\libraries\CC3000_MDNS and reinstall the library.

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\NewPing

This library is missing the file NewPing.h. You should delete C:\Users\Stephen\Documents\Arduino\libraries\NewPing and reinstall the library.

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\PID

The library can't be in a subfolder of your libraries folder. Move the folder C:\Users\Stephen\Documents\Arduino\libraries\PID\PID_v1 to C:\Users\Stephen\Documents\Arduino\libraries and delete C:\Users\Stephen\Documents\Arduino\libraries\PID

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\PID_AutoTune_v0

Move the folder C:\users\stephen\documents\arduino\libraries\PID_AutoTune_v0\PID_AutoTune_v0 to C:\users\stephen\documents\arduino\libraries

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\RF_receive

This is a sketch, not a library. Move C:\Users\Stephen\Documents\Arduino\libraries\RF_receive to C:\Users\Stephen\Documents\Arduino

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\RF_send

This is a sketch, not a library. Move C:\Users\Stephen\Documents\Arduino\libraries\RF_sendto C:\Users\Stephen\Documents\Arduino

Invalid library found in C:\Users\Stephen\Documents\Arduino\libraries\TrinketFakeUsbSerialHostSW

This isn't a library. Move C:\Users\Stephen\Documents\Arduino\libraries\TrinketFakeUsbSerialHostSW out of C:\Users\Stephen\Documents\Arduino\libraries

Could not find boards.txt in C:\Users\Stephen\Documents\Arduino\hardware\attiny\variants. Is it pre-1.5?
WARNING: Error loading hardware folder C:\Users\Stephen\Documents\Arduino\hardware\attiny
No valid hardware definitions found in folder attiny.

This version of attiny isn't compatible with Arduino IDE 1.5+. If you need to use it with 1.6.8, etc. then you should follow the instructions at High-Low Tech – Programming an ATtiny w/ Arduino 1.6 (or 1.0). The Arduino IDE 1.5+ compatible version is not backwards compatible with 1.0.x so if you want to also use an old version of the IDE you may want to also keep the old version installed but then you'll keep getting this warning.

Could not find boards.txt in C:\Users\Stephen\Documents\Arduino\hardware\hexbright\bootloader. Is it pre-1.5?
WARNING: Error loading hardware folder C:\Users\Stephen\Documents\Arduino\hardware\hexbright
No valid hardware definitions found in folder hexbright.

Also not compatible with Arduino IDE 1.5+

WARNING: Error loading hardware folder C:\Users\Stephen\Documents\Arduino\hardware\ProTrinket
No valid hardware definitions found in folder ProTrinket.

Also not compatible with Arduino IDE 1.5+

So give these changes a try and then let me know how it goes. Per