Pages: [1]   Go Down
Author Topic: Can't find stdlib.h, string.h, etc in Linux IDE 22  (Read 1636 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 63
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just installed the ide (using zypper, following the openSuSE instructions), and just as a test, tried to verify the blink example - and MUCH to my surprise, it promptly threw up... giving me this:

Code:
In file included from Blink.cpp:8:
/usr/share/arduino-0022/hardware/arduino/cores/arduino/WProgram.h:4:20: error: stdlib.h: No such file or directory
/usr/share/arduino-0022/hardware/arduino/cores/arduino/WProgram.h:5:20: error: string.h: No such file or directory
/usr/share/arduino-0022/hardware/arduino/cores/arduino/WProgram.h:6:18: error: math.h: No such file or directory
/usr/share/arduino-0022/hardware/arduino/cores/arduino/WProgram.h:8:27: error: avr/interrupt.h: No such file or directory

<bunch more word salad deleted>


I edited my path to include /usr/include, where stdlib et al reside, but I'm still getting this.

Whiskey Tango Foxtrot, over?
Logged

Offline Offline
God Member
*****
Karma: 32
Posts: 507
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Reinstall avr-libc. /usr/include is the wrong includes, the avr stuff will get installed somewhere else (locate avr/interrupt.h might give you a clue)
Logged


Pages: [1]   Go Up
Jump to: