How to fix Error compiling for board Industruino 1286?

I loaded the sample code: "Industruino Demo Code - Default code loaded onto Industruino REV3"

The output in the arduino IDE:

Arduino: 1.6.13 (Linux), Board: "Industruino 1286"

Warning: Board Industruino:avr:ind1286 doesn't define a 'build.board' preference. Auto-set to: AVR_IND1286
WARNING: Category '' in library EEPROM is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library SoftwareSerial is not valid. Setting to 'Uncategorized'
WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized'
Warning: platform.txt from core 'Industruino Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
fork/exec /bin/avr-g++: no such file or directory
Error compiling for board Industruino 1286.

 

 

Wig
Wig
32
| 1 1 2
Asked on 1/16/17, 3:12 PM
0
vote
3262 Views

Hello,
yes it's true.
​THere is a thread on the changes needed to make Arduino work with more recent platform, but it takes a bit of tinkering with libraries.
Anyhow your error says basically that the compiler is not where expected.
After all the warnings, your error is simple:

fork/exec /bin/avr-g++: no such file or directory

Check in your directories that the correct program be in the requested place and you could be allright, or generate the next error.

Stefano Giuseppe Bonvini
Stefano Giuseppe Bonvini
577
| 2 0 2
Answered on 1/16/17, 4:23 PM
0
vote

"There's a thread on .." - do you have a link?

Wig
on 1/17/17, 8:47 AM

I can find /opt/cross/avr/bin/avr-g++

Wig
on 1/17/17, 9:02 AM

https://industruino.com/forum/help-1/question/build-failure-is-industruino-1286-compatible-with-arduino-1-6-6-on-osx-el-capitan-114

Stefano Giuseppe Bonvini
on 1/17/17, 10:39 AM

Hi everyone,

Support for the latest Arduino IDE is coming very soon. Please check the website or twitter for an announcement.

Loic

Loic De Buck
Loic De Buck
1263
| 3 1 3
Answered on 1/17/17, 6:19 AM
0
vote

Try using version 1.6.5. The later versions of the IDE are not supported for the Industruino.

Raghuram Shenoy
Raghuram Shenoy
7
| 4 1 2
Answered on 1/16/17, 3:25 PM
0
vote

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

31 follower(s)

Stats

Asked: 1/16/17, 3:12 PM
Seen: 3262 times
Last updated: 1/17/17, 6:20 AM