TTS library

Hello i have a error compiling the sample of the tts library :

In file included from TTStest.pde:13: C:\Program Files\Arduino\libraries\TTS/TTS.h:28: error: 'byte' has not been declared

please help i want make to work this. thank you

Typically this is if you "declare it" in the wrong place. When you have the "#include tts" is it outside all of the void loop and setup?

The Arduino is very sensitive about where you set values, for example if you say that x = 2 in the void setup, x=2 only in the void setup. In the void loop it has no idea what x is. To eliminate this you can declare global scope so that x = 2 no matter where it is. This is most easily done in by simply putting it at the beginning of the program before the void setup.

The .pde extension on the file being compiled is a clue that the library is old. It has probably not been updated to work with version 1.0+ of the IDE.

A link to the library would be useful.

PaulS:
The .pde extension on the file being compiled is a clue that the library is old. It has probably not been updated to work with version 1.0+ of the IDE.

A link to the library would be useful.

Ok this is the link of the library
http://www.tehnorama.ro/wp-content/uploads/2010/06/TTS.zip

That i am trying to do is make arduino speak without shield.

thank you for the answer .

What changes have you made to the library?

The TTS.h file contains:

#include <WProgram.h>

That needs to be changed to Arduino.h for 1.0+ usage.

Stupidly, the TTS.cpp file includes, uselessly, the same header file, so it needs to be edited, too.