Skip to content
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

Arduino IDE Linking error when Win Username has a space #12

Closed
jlcook83 opened this issue Apr 23, 2019 · 1 comment
Closed

Arduino IDE Linking error when Win Username has a space #12

jlcook83 opened this issue Apr 23, 2019 · 1 comment

Comments

@jlcook83
Copy link

I am experiencing an issue when the Arduino IDE is compiling for a Multi-4-in-1 board, and I am logged in with a windows username that contains a space.

During the linking stage an error is thrown right after successful execution of: do_version.bat

The error is thrown in the middle of my windows user name, (again, contains a space).

i.e User is 'My Name',
The error thrown is: 'C:\Users\My' is not recognized as an internal or external command

When I run under a Windows user that doesn't contain a space, the compile completes successfully. I believe this is related to something in the linking process.

Note: I can compile code when other than a 'Multi-4-in-1 ' AVR board is selected (i.e compile for Arduino Mini works fine with username containing a space.)

@benlye
Copy link
Collaborator

benlye commented May 24, 2019

This is a known problem with the Arduino IDE:
arduino/arduino-builder#316

Which is caused by an underlying issue in Golang:
golang/go#17149

The only way to work around the problem is to move the Multi source folder to a path without spaces in it, e.g. C:\Temp\Multi.

Edit: The reason it works for other boards is that we do some magic in post-build scripts, which is where this bug is encountered. Other boards (i.e. the Mini) don't have post-build scripts, so don't trigger the bug.

@benlye benlye closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants