Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

[Windows] Searching for avr-gcc ... FAILED #25

Open
iarspider opened this issue Mar 10, 2012 · 1 comment
Open

[Windows] Searching for avr-gcc ... FAILED #25

iarspider opened this issue Mar 10, 2012 · 1 comment

Comments

@iarspider
Copy link

Ino is unable to find avr-gcc (the one bundled with arduino IDE) under Windows OS. Output:
`Searching for Arduino core library ... d:\Work\arduino-1.0\hardware\arduino\cores\arduino
Searching for Arduino standard libraries ... d:\Work\arduino-1.0\libraries
Searching for Arduino variants directory ... d:\Work\arduino-1.0\hardware\arduino\variants
Searching for avr-gcc ... FAILED
avr-gcc not found. Searched in following places:

  • d:\Work\arduino-1.0\hardware\tools\avr\bin`

I think the problem is here (environment.py:124)
if os.path.exists(path):
In windows, avr-gcc is named avr-gcc.exe. The most easy way is to change this line to:
if os.path.exists(path) or os.path.exists(path+'.exe'):
but that looks like a hack

@nkrkv
Copy link
Member

nkrkv commented Mar 10, 2012

Well, I'm totally forgot about extension existence on Windows, good point. Ino is not ever tested on this platform yet. You could help a lot if you hack the source (in a draft fashion) until you'll get a sketch to upload correctly. Once you'll able to compile and upload please post a diff, so they could be integrated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants