Please help me: error 22 WProgram.h detail inside!

Hi everybody,

My name is June, I'm new in Arduino field. Could you please help me I have problem when I run simple program that is Blink from Arduino 0018 with Macbook Pro. The error code show 22: error WProgram.h: No such file or directory in red color area and show 22: error: WProgram.h: No such file or directory In function 'void setup()': In function 'void loop()':
in black area. I's looking like a program not found path I'm not sure.

Regards,
June

Can you post your code, please?
My crystal ball is at the repair shop today.

Sir,

Thanks for respond. The code below it's a default code from Arduino. Just want to test board I bought it today from some shop at Thailand.

/*
Blink

Turns on an LED on for one second, then off for one second, repeatedly.

The circuit:

  • LED connected from digital pin 13 to ground.

  • Note: On most Arduino boards, there is already an LED on the board
    connected to pin 13, so you don't need any extra components for this example.

Created 1 June 2005
By David Cuartielles

based on an orginal by H. Barragan for the Wiring i/o board

*/

int ledPin = 13; // LED connected to digital pin 13

// The setup() method runs once, when the sketch starts

void setup() {
// initialize the digital pin as an output:
pinMode(ledPin, OUTPUT);
}

// the loop() method runs over and over again,
// as long as the Arduino has power

void loop()
{
digitalWrite(ledPin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // set the LED off
delay(1000); // wait for a second
}

I use USB to Serial to syn with my Macbook Pro.

Regards,
June

Could you post the full error message? It looks like that you are using the canned version of the blink code so everything should work if the environment setup is correctly. I assume that you have installed all the required tools?

Thank you for every respond, I got it, The problems came from path of directory I forgot copy my board's libraries to main libraries folder.

Thanks & Regards,
~ i J u n e ~