getting started - compiling


i'm trying compile first time using mac... using blink sample program.

i following message when push upload.   
(it long , seemingly repetitive cut middle out) 
anybody know what's going on?



arduino: 1.6.11 (mac os x), board: "arduino/genuino uno"

/users/desktop/arduino.app/contents/java/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ar: dlopen(/users/desktop/arduino.app/contents/java/hardware/tools/avr/bin/../libexec/gcc/avr/4.9.2/liblto_plugin.so, 2): symbol not found: _environ
  referenced from: /users/desktop/arduino.app/contents/java/hardware/tools/avr/bin/../libexec/gcc/avr/4.9.2/liblto_plugin.so
  expected in: /usr/lib/libsystem.b.dylib
.
.
.
.


collect2: error: ld returned 1 exit status
exit status 1
error compiling board arduino/genuino uno.

this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.

i don't know how fix correctly here's workaround:
  • tools > board > boards manager > arduino avr boards(click on it) > select "1.6.11" "select version" drop down menu" > install
  • after installation completes click "close"

someone else reported issue , fixed them.

this related new plugin added in arduino avr boards 1.6.12, that's why installing 1.6.11 fix it. need avoid upgrading arduino avr boards version above 1.6.11 until real solution issue found.


Arduino Forum > Using Arduino > Installation & Troubleshooting > getting started - compiling


arduino

Comments

Popular posts from this blog

Valutazione Template - Joomla! Forum - community, help and support

SD Datastring Convention

First use of Arduino Uno : avrdude error on Blink uploading