Pages: [1]   Go Down
Author Topic: Installing and running Arduino 1.0  (Read 1318 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Currently I am using Arduino 022. I downloaded the 1.0 version and unzipped it. When I try to compile the Blink program it says "Blink.cpp:8:21: error: Arduino.h: No such file or directory". Can 1.00 and 22 co-exist?
Any help will be appreciated.
Thanks

Logged

"The old Europe"
Offline Offline
Edison Member
*
Karma: 1
Posts: 2005
Bootloaders suck!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If they're properly unzipped to different folders.
Logged

• Upload doesn't work? Do a loop-back test.
• There's absolutely NO excuse for not having an ISP!
• Your AVR needs a brain surgery? Use the online FUSE calculator.
My projects: RGB LED matrix, RGB LED ring, various ATtiny gadgets...
• Microsoft is not the answer. It is the question, and the answer is NO!

Morgan Hill, Ca
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I unzipped it properly, and installed it properly.
It gets the same message.
Arduino.h is available in the Hardware folder.
How do you fix this problem?
Logged

Morgan Hill, Ca
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Found the problem.
You have to change Preferences in the File tab to show the new folder.
Logged

Spain
Offline Offline
Full Member
***
Karma: 0
Posts: 149
LED
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

[..] to show the new folder.
What does that mean?
Sketches folder? O_o
Logged

Arduino Uno (R2fix) / Duemilanove (328p)
Ethernet Shield SD (v5)

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think this is the easiest way to solve the problem:

To update old cores (such as Sanguino)
Code:
echo "#include \"WProgram.h\"" > hardware/Sanguino/cores/arduino/Arduino.h

To compile old programs on new cores (>=1.0)
Code:
echo "#include \"Arduino.h\"" > hardware/arduino/cores/arduino/WProgram.h
Logged

Pages: [1]   Go Up
Jump to: