I use 1.6.5 on one computer and until this morning used a much older version on another.
I wanted to put the software for a nokia display on the second computer (this one) but found even when I transferred all the library files over it still didn't work.
I decided to update this computer to the 1.6.6 and found I had to reload all my libraries from all over the internet for the other sketches I have.
One of the libraries was l malpartida's liquidCrystal library, it took a while but now the display works fine and I can upload sketches to it that all work.
The one thing that is odd is that after the upload has finished
Invalid library found in C:\Program Files (x86)\Arduino\libraries\NewliquidCrystal: C:\Program Files (x86)\Arduino\libraries\NewliquidCrystal
appears in the lower box of the software. I have removed the 'NewliquidCrystal' files and found the sketch fails to work.
With them reloaded it works fine but the error comes back?
Anyone any ideas?
(I even succeeded in getting the nokia to work with a download off the internet of the required library, but with the error message above.)
matelot:
I decided to update this computer to the 1.6.6 and found I had to reload all my libraries from all over the internet for the other sketches I have.
You're supposed to install libraries to the libraries folder inside of your sketchbook folder, not C:\Program Files (x86)\Arduino\libraries. If you install libraries to your sketchbook folder and use the same sketchbook folder for all versions of the Arduino IDE then you won't need to reinstall them every time you update the Arduino IDE to a new version.
matelot:
Invalid library found in C:\Program Files (x86)\Arduino\libraries\NewliquidCrystal: C:\Program Files (x86)\Arduino\libraries\NewliquidCrystal
I just installed NewliquidCrystal 1.3.4 and there is no error in Arduino IDE 1.6.6. I would need to know more information to figure out why you're getting that error. If you open Sketch > Include Library > Manage Libraries... the Invalid Library message might give more details on what makes it invalid.
before I do it, would you confirm that if I just copy all the new library folders I have uploaded from the library folder to the library folder in the sketch folder they will still work? it might solve both problems.
Also I am now getting a small box attached to the bottom of the arduino box (what do you call the box you write sketches in?) that says 'update available for some of your libraries'
Too late I clicked on the word 'libraries' that was a link to find out more and it updated the libraries
Yes they will still work just the same, the only difference is they won't be deleted every time you update the Arduino IDE and they can also be used by multiple versions of the IDE. When you do the library update with Library Manager as you have done the new version of the library is installed to the libraries folder in your sketchbook folder so now if you copy the libraries that were updated from your Arduino IDE installation folder to the sketchbook/libraries folder if you overwrite the version that is already there then it will prompt you to update them again but this will not cause any problems.
sorry I take so long to reply , I am just trying to get my info correct and check as far as I can before asking for help.
The 'libraries' folder in c:\Program Files (x86)\Arduino\libraries\ holds all the 'standard' libraries,
Bridge, Explora, Ethernat, etc. it also holds a copy of the NewliquidCrystal that is showing up as an error in the bottom box.
The library directory in my sketchbook folder only holds what I subsequently loaded with the manager, including a copy of the NewliquidCrystal.
If I delete the copy in the libraries file this may solve my error problem?
now if you copy the libraries that were updated from your Arduino IDE installation folder to the sketchbook/libraries folder if you overwrite the version that is already there then it will prompt you to update them again but this will not cause any problems.
Are you suggesting I move all the other directories from the libraries directory to my sketchbook/library directory?
I have removed the NewliquidCrystal directory from the library directory and the error has disappeared so my original problem has been fixed, thank you pert.
Your reply has also given me food for thought and hopefully taught me something new.
Can I just move the library directories/files to my sketchbook folder is all I need to know now? to clean things up on my computer.
matelot:
Are you suggesting I move all the other directories from the libraries directory to my sketchbook/library directory?
If you mean also moving the Built-In libraries to your sketchbook/libraries folder, you can do that and it most likely will cause no problems but I don't recommend it and this is why:
In general the sketchbook/libraries folder is used for libraries you have written and 3rd party libraries you have installed. With the addition of the Library Manager update system in the last year now updates for Arduino Built-In libraries(the libraries in the libraries folder of the Arduino IDE installation folder after you install it) are also added to the sketchbook/libraries folder. Libraries in the sketchbook/libraries folder take precedence over all other libraries with the same name. Some 3rd party boards packages(esp8266, Mighty 1284P, Galileo, Edison, Arduino 101, etc) include versions of these libraries that are modified to work on that hardware so if that library is installed in the sketchbook/libraries folder it overrides the library bundled with the hardware package. Even though this issue is already caused by Library Manager updates of these libraries you will only exacerbate the problem if you move all the Built-In libraries to your sketchbook/libraries folder.