Compilation errors: Mega 2560


i'm running windows 10 on pc , have 2 arduino boards: intel 101 , mega 2560. mega comes on com 6 , 101 on com 3. i've verified (needlessly) on device manager | ports (com & lpt). re-installed ide. 1.6.10.

i'm getting compilation errors mega when compile blink. getting blink examples (file|examples|basic|blink). seeing expected stuff on tools menu. ide setup mega. when "get board information" popup information, presumably query because board comes serial number.

i same 101 board, setting ide 101. compiles , loads expected.

i turned off verbose because chatty. appears i'm missing component. here error message copied ide:

arduino: 1.6.10 (windows 10), board: "arduino/genuino mega or mega 2560, atmega2560 (mega 2560)"

cc1.exe: error: -fno-fat-lto-objects supported linker plugin.

exit status 1
error compiling board arduino/genuino mega or mega 2560.

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

so here questions:

1) need compiler work without error?
2) mechanism selects com port or ports?
3) manually change com port on board if wanted to? if so, how?

thank in advance answers.



Arduino Forum > Using Arduino > Installation & Troubleshooting > Compilation errors: Mega 2560


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'