New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"/bin/sh: arm-none-eabi-g++: command not found" Error when compiling for Teensy 3.1 on Teensyduino 1.21 + Arduino 1.6.1 #248
Comments
this issue still exists with Teensyduino 1.22b and Arduino 1.6.2 |
Issue confirmed on OS X. |
issue exists with teensyduino 1.24 on windows 7
|
is there a fix to this? |
same problem here |
Same problem with Teensyduino 1.24 and Arduino 1.0.6 |
I found a fix. the problem is in the stino platform file.
I tested this with arduino 1.6.5 r4 and the latest Teensyduino beta (available in the pjrc forum). I did this in arduino 1.6.4 as well. |
I also had to modify /Applications/Arduino.app/Contents/Java/hardware/teensy/avr/boards.txt change: teensy31.build.flags.ld=-Wl,--gc-sections,--relax,--defsym=__rtc_localtime={extra.time.local} "-T{build.core.path}/mk20dx256.ld" to: teensy31.build.flags.ld=-Wl,--gc-sections,--relax "-T{build.core.path}/mk20dx256.ld" |
Thanks cosmikwolf!!! It worked on my Mac. For anyone else encountering this, make the changes and restart Sublime Text as not all changes are updated when Sublime is running. On a side note, my Arduino Java folder was put inside the Resources folder when you open up the Arduino app package. i.e. /Applications/Arduino.app/Contents/Resources/Java/.... |
Works on Linux (Arch) too :) Directory structure is a bit different though. Arduino will be/ in /usr/share/arduino. Sublime text config should be in ~/.config/sublime-text-3 |
Issue still exists wtih Arduino 1.6.6, and Teensyduino 1.26, although now I got the same error. I resolved it by changing the platform_teensy3.txt file in the Stino preset folder. I changed one of the first few lines to: compiler.path={runtime.ide.path}/hardware/tools/ a ghetto rig, but it works! |
Is the addition of: |
No luck here. Tried the edit but it still throws the same error. |
I have passed Teensy build with the current version. |
Stino does not work with the latest version of Teensyduino (1.21)
I believe it is because there is a new flag in the board.txt file which Stino does not read properly.
teensy31.build.toolchain=hardware/tools/arm/bin/
This flag specifies where the arm-none-eabi-g++ compiler lives relative to the Arduino 1.6.1 Java folder.
Steps to reproduce:
Install Sublime Text
Install Latest Stino
Install Arduino 1.6.1
Install Teensyduino 1.21 on to Arduino 1.6.1
https://www.pjrc.com/teensy/td_download.html
Attempt to compile any sketch.
The text was updated successfully, but these errors were encountered: