frequency timer 2 + atmega 328

hi. I'm new with arduino, and i don't know much about programming. can anyone please tell me how to compile libary "frequency timer2" whith atmega 328? (I want to direct drive 8x8 led matrix that i made)

(don't need frequencytimer2 if you know a better method. lololl)

I read that we have to change some text from .cpp file, but it doesn't work anyway.

thanks