problem compiling examples of tv out library(TVoutBeta1.zip)

i m trying to interface arduino with a tv.
i downloaded the tvout library 'TVoutBeta1.zip'.But the example included in the library doesn't compile.i tried every tvout libraries available in the internet.still i m not finding a solution. I experimented with the latest version of arduino IDE and even the older version. the problem still persists.the software shows the following error:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Leonardo"
C:\Program Files\Arduino\libraries\TVout\TVout.cpp: In member function 'void TVout::tone(unsigned int, long unsigned int)':
C:\Program Files\Arduino\libraries\TVout\TVout.cpp:825: error: 'DDR_SND' was not declared in this scope
C:\Program Files\Arduino\libraries\TVout\TVout.cpp:825: error: 'SND_PIN' was not declared in this scope
C:\Program Files\Arduino\libraries\TVout\TVout.cpp: In member function 'void TVout::noTone()':
C:\Program Files\Arduino\libraries\TVout\TVout.cpp:876: error: 'PORT_SND' was not declared in this scope
C:\Program Files\Arduino\libraries\TVout\TVout.cpp:876: error: 'SND_PIN' was not declared in this scope

wud be grateful 4 any suggestions or solution

All those are defined in file "hardware_setup.h", but not for ATmega32u4 (Arduino Leonardo).
The quickest solution is to comment out this line (in file "hardware_setup.h"):

#define ENABLE_FAST_OUTPUT

thank you for ur suggestion but dont u think if its not for leonardo then also the examples should compile any way without using any board. The examples dont even verify I am not using any arduino board.

If you select "Arduino/ Atmega328" as your board, the code will compile fine, because of this line:

#elif defined(__AVR_ATmega8__) || defined(__AVR_ATmega88__) || defined(__AVR_ATmega168P__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328__)

dont u think if its not for leonardo then also the examples should compile any way

This is a question for the author of the library. Probably Leonardo was invented after this library was written.