Arduino on Bluewhite64 - 13
Having problems getting Arduino enviroment working on Bluewhite. Anyone with any tips. Arduino site gives little help with slackware.
|
What kind of problems? Is there a specific error you are getting? Is the hardware even detected?
|
The hardware is detected. I can recieve serial transmissions from the board that has an old sketch in it. The problems are when I try to compile a new sketch, then I get the following errors.
/arduino-0016/hardware/cores/arduino/pins_arduino.c:25:20: error: avr/io.h: No such file or directory In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:26: /arduino-0016/hardware/cores/arduino/wiring_private.h:29:27: error: avr/interrupt.h: No such file or directory /arduino-0016/hardware/cores/arduino/wiring_private.h:30:23: error: avr/delay.h: No such file or directory /arduino-0016/hardware/cores/arduino/wiring_private.h:31:19: error: stdio.h: No such file or directory In file included from /arduino-0016/hardware/cores/arduino/wiring_private.h:34, from /arduino-0016/hardware/cores/arduino/pins_arduino.c:26: /arduino-0016/hardware/cores/arduino/wiring.h:101: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boolean' /arduino-0016/hardware/cores/arduino/wiring.h:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'byte' /arduino-0016/hardware/cores/arduino/wiring.h:110: error: expected ')' before 'mode' /arduino-0016/hardware/cores/arduino/wiring.h:111: error: expected ')' before 'int' /arduino-0016/hardware/cores/arduino/wiring.h:123: error: expected ')' before 'pin' /arduino-0016/hardware/cores/arduino/wiring.h:125: error: expected ')' before 'dataPin' /arduino-0016/hardware/cores/arduino/wiring.h:127: error: expected ')' before 'void' In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:27: /arduino-0016/hardware/cores/arduino/pins_arduino.h:28:26: error: avr/pgmspace.h: No such file or directory In file included from /arduino-0016/hardware/cores/arduino/pins_arduino.c:27: /arduino-0016/hardware/cores/arduino/pins_arduino.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.h:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:362: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:370: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:378: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:386: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:409: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' /arduino-0016/hardware/cores/arduino/pins_arduino.c:432: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'PROGMEM' Couldn't determine program size: avr-size: '/tmp/build8255619358265906494.tmp/Blink.hex': No such file |
Have you installed the avr libraries and compiler? You need at least avr-gcc, avr-libc, and avr-binutils. None of these are included in Slackware, so I would assume BlueWhite doesn't have them either. You need to either build them from source, or see if you can find packages for them.
|
Installed all of those. I'm thinking the problem lies with arduino IDE itself. It's not made to run on 64 bit. I have gotten the IDE to run and can even use the built in serial terminal, but sketches wont compile.
|
All times are GMT -5. The time now is 12:04 PM. |