Errors with the Tone libary

Hey,
I gonna save you comments and mention everything you need to know on the beggining:
I'm running Windows 7 32bit version
Arduino 1.0 (0023)
Arduino Uno from serial port 4
just downloaded the tone libary, opened the RTTL example. The code I used is 1:1 from the RTTL example and I cannot copy it here for it being too long.

and these are the errors I got:

C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:26:20: error: wiring.h: No such file or directory
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::begin(uint8_t)':
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:121: error: 'bitWrite' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:123: error: 'digitalPinToPort' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:123: error: 'portOutputRegister' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:124: error: 'digitalPinToBitMask' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::play(uint16_t, uint32_t)':
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:198: error: 'OUTPUT' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:198: error: 'pinMode' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:294: error: 'bitWrite' was not declared in this scope
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp: In member function 'void Tone::stop()':
C:??????\arduino-0023\arduino-1.0-windows\arduino-1.0\libraries\Tone\Tone.cpp:361: error: 'digitalWrite' was not declared in this scope

I downloaded the Tone libary from here:
http://code.google.com/p/rogue-code/wiki/ToneLibraryDocumentation#Download_and_Installation
and put the folder in the libraries folder (after exctraction)

That library would appear to not be IDE 1.0 compatible.

Thanks! another question: lets say I want to have the RTTL code libary, but: there is a loop. every time pin 5 is high, it will start the song. when pin pin is high again, it will play the song again. because right now I need to reupload the sketch every time I want to hear the song again.

Does it not replay when you press the reset button?

it does, but I'm planning on building a perfboard ATtiny85 arduino, and I am not going to put the reset button there. I think it's more simple to just modify the software.

What are you going to use to set pin 5 high?

Assuming a switch, add the code to the loop that looks for the status of that switch. It won't play anything until it sees the switch, then it plays the song, once it is done, it will wait for the switch again.

That being said, the RTTL Example code looks like it is set to run once and that While(1) statement basically stops the execution of the program. If you were to delete that line, it should endlessly loop. Add your switch code and you are in business.

OK thanks! Now, I was looking in the old arduino forum and I saw some guy posting a few songs, when each song is a line of code that you paste in to the RTTL example. It works great! Where do I get more songs like this? (In a line of code thingie)