gauranggoyal123 / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Arduino IDE on Ubuntu will not verify #1081

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open any sketch, mine or examples.

2.Select proper board, serial port, bla bla, or just hit...

3.Verify.

What is the expected output? I expect the sketch to show a correct verify 
procedure, as it has done in the past!

What do you see instead? 

sketch_oct23a.cpp:3:21: error: Arduino.h: No such file or directory
(this is the result of verify on an empty sketch window.)

or:Blink-
Blink.cpp:10:21: error: Arduino.h: No such file or directory
Blink.cpp: In function ‘void setup()’:
Blink:14: error: ‘OUTPUT’ was not declared in this scope
Blink:14: error: ‘pinMode’ was not declared in this scope
Blink.cpp: In function ‘void loop()’:
Blink:19: error: ‘HIGH’ was not declared in this scope
Blink:19: error: ‘digitalWrite’ was not declared in this scope
Blink:20: error: ‘delay’ was not declared in this scope
Blink:21: error: ‘LOW’ was not declared in this scope

Now, I can find Arduino.h in the 
/home/jim/arduino-1.0.1/hardware/arduino/cores/arduino  folder. So what gives?

Ubuntu 11.04

Arduino 1.0.1

Thanks,
Jim

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?

Please provide any additional information below.

Original issue reported on code.google.com by baseball...@gmail.com on 23 Oct 2012 at 11:04

GoogleCodeExporter commented 9 years ago
This is a weird behavior, no one has experienced the same problem, I think is 
caused by some something wrong inside your IDE folder.
I suggest you to download again, unzip it and start from scratch.

Original comment by f.vanz...@gmail.com on 24 May 2013 at 10:46