where can I get avr/pgmspace.h because I can not find it anywhere
because I can not find it anywhere
The compiler knows where to find it.
josh97531: where can I get avr/pgmspace.h because I can not find it anywhere
It should live in hardware/tools/avr/avr/include/avr/pgmspace.h inside your Arduino IDE folder.
I wonder why they couldn't have put four "avr" directories in that path. Probably just didn't try hard enough :-)
However, pgmspace.h has nothing to do with programming a library unless you're trying to use flash memory to store data.