I just installed PWM library, but I get errors when trying to compile PWM_lib_example.ino:
/Users/kevin/Documents/Arduino/libraries/PWM/examples/PWM_lib_example/PWM_lib_example.ino:24: undefined reference to `InitTimersSafe()'
/Users/kevin/Documents/Arduino/libraries/PWM/examples/PWM_lib_example/PWM_lib_example.ino:27: undefined reference to `SetPinFrequencySafe(signed char, unsigned long)'
/var/folders/xg/k651jnd11fsc5hljfrqcpfrc0000gn/T//cckpCPI7.ltrans0.ltrans.o: In function `loop':
/Users/kevin/Documents/Arduino/libraries/PWM/examples/PWM_lib_example/PWM_lib_example.ino:39: undefined reference to `pwmWrite(unsigned char, unsigned char)'
Do not compile examples in place, in the libraries directory. First copy the example folder (i.e PWM_lib_example) to your sketchbook dir and than build it.
And Just a suggestion...the last version of the library dated 2012, the Arduino IDE has changed a lot since then.
Can you show the path to the dir where the file PWM.h is located?