algorithmic modeling for Rhino
I got stuck right at the start when trying to compile and upload Firefly to my Arduino board...its giving me this error:
In file included from Firefly_Firmata.cpp:46:
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:66: error: previous declaration of 'const uint16_t port_to_mode_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:127: error: conflicts with new declaration with 'C' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:67: error: previous declaration of 'const uint16_t port_to_input_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:128: error: conflicts with new declaration with 'C' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:68: error: previous declaration of 'const uint16_t port_to_output_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:129: error: conflicts with new declaration with 'C' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:70: error: previous declaration of 'const uint8_t digital_pin_to_port_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:131: error: conflicts with new declaration with 'C' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:72: error: previous declaration of 'const uint8_t digital_pin_to_bit_mask_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:133: error: conflicts with new declaration with 'C' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/pins_arduino.h:73: error: previous declaration of 'const uint8_t digital_pin_to_timer_PGM []' with 'C++' linkage
C:\Program Files\arduino-0019\hardware\arduino\cores\arduino/Arduino.h:134: error: conflicts with new declaration with 'C' linkage
I'm sure I've forgot to install something and made some basic error...
Anybody have the same problem?
Tags:
Hi Stephen,
It looks like you're using an older version of the Arduino IDE (0019). The Firmata uses the latest version of the Arduino libraries which are accessible only if you use the latest release of the Arduino IDE (1.01). You can download it here: http://arduino.cc/en/Main/Software
Try using the latest release of the IDE and let me know if this solves your issue.
Best,
Andy
I'm using 1.0.1 but will download again and reinstall.
Thanks,
S
this time there's no error!!!thanks Andy, cant wait to get working with Firefly!
very excited!
S
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by