error message adding library

hello I am currently tying to add a moving average library zip file via sketch/library/add library. however when i do I receive the following error message

the library moving-average-filter--arduino-library--master cannot be used. library names must contain only basic letters and numbers (ASCII only and it cannot start with a number)

I downloaded the file from git hub

thanks very much any help would be much appreciated as I am working to a close deadline for a gallery ! thank you.

They did a very nasty job of naming that for you. The IDE does NOT like anything but AlphaNumeric in the project and file names. Just remove all the ridiculous dashes from both the project directory and the library file names within along with the include statement in your code and it should work just fine but don't forget to restart the IDE afterwards or it won't see it.

thank you I changed the file name to "mov.zip" and saved it in desktop but I still get the same error message. this is the first time I've added a contributed library . is there something more simple i'm doing wrong ?

Just remove all the ridiculous dashes from both the project directory and the library file names within along with the include statemen

Some libraries include other libraries, also check for includes in the library files.

samhallett:
thank you I changed the file name to "mov.zip" and saved it in desktop but I still get the same error message. this is the first time I've added a contributed library . is there something more simple i'm doing wrong ?

The mov library folder (not the zip) needs to go in the libraries folder under documents/arduino (assuming Windows) and the library folder name, library .h and library .cpp filenames must match as must the library name used in the #include in your program. You also need to stop and restart the IDE after installing the library.

ok I am using mac , sorry if I am being very dense I was just trying to follow the instructions on adding libraries.

Which version of the IDE are you using ?

sorry if I am being very dense I was just trying to follow the instructions on adding libraries.

Feel free to volunteer additional information. You've been told that the folder name is incorrect, and that you need to rename it. You HAVE not told us where you installed it, or what you renamed the folder to.