Skip to content

Arduino fails to compile a sketch with tabs on ubuntu if path contains accent #5463

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

Closed
Vincent14 opened this issue Oct 6, 2016 · 6 comments
Labels
Type: Duplicate Another item already exists for this topic

Comments

@Vincent14
Copy link

Tested on Ubuntu with Arduino 1.6.12 taken from arduino.cc website.

@facchinm
Copy link
Member

facchinm commented Oct 7, 2016

Hi @Vincent14 , the bug is not confirmed (I could not reproduce on my systems). Could you post the complete verbose compilation output and a minimal multitab sketch triggering the issue?

@facchinm facchinm added the Waiting for feedback More information must be provided before we can proceed label Oct 7, 2016
@Vincent14
Copy link
Author

You're right, the problem is not the space but the accent "à". Have a try with this project. Here is the full trace:

/media/Stockage/Bureau/à/cubeled_v1.2/cubeled_v1.2.ino: In function 'void setup()':
cubeled_v1.2:28: error: 'cubeBegin' was not declared in this scope
cubeBegin();
^
cubeled_v1.2:29: error: 'initLeds' was not declared in this scope
initLeds();
^
cubeled_v1.2:30: error: 'loadParams' was not declared in this scope
loadParams();
^
/media/Stockage/Bureau/à/cubeled_v1.2/cubeled_v1.2.ino: In function 'void loop()':
cubeled_v1.2:39: error: 'refreshFrame' was not declared in this scope
if (refresh && changed) refreshFrame();
^
cubeled_v1.2:44: error: 'drawLeds' was not declared in this scope
drawLeds();
^
cubeled_v1.2:48: error: 'drawLeds' was not declared in this scope
else drawLeds();
^
/media/Stockage/Bureau/à/cubeled_v1.2/cubeled_v1.2.ino: In function 'void serialEvent()':
cubeled_v1.2:58: error: 'parse' was not declared in this scope
parse(input);
^
/media/Stockage/Bureau/à/cubeled_v1.2/config.ino: In function 'void refreshFrame()':
config:73: error: 'copyFrame' was not declared in this scope
copyFrame(bufferFrame, actualFrame);
^
/media/Stockage/Bureau/à/cubeled_v1.2/parser.ino: In function 'void parse(byte)':
parser:54: error: 'execute' was not declared in this scope
if (input == EOP) execute();
^
/media/Stockage/Bureau/à/cubeled_v1.2/parser.ino: In function 'void execute()':
parser:265: error: 'MOVE' was not declared in this scope
MOVE(buffer[0], 1, false);
^
parser:269: error: 'MOVE' was not declared in this scope
MOVE(buffer[0], buffer[1], false);
^
parser:276: error: 'MOVE' was not declared in this scope
MOVE(buffer[0], 1, true);
^
parser:280: error: 'MOVE' was not declared in this scope
MOVE(buffer[0], buffer[1], true);
^
exit status 1
'cubeBegin' was not declared in this scope

@oqibidipo
Copy link

This looks like #5216 and #5277.

@Vincent14 Vincent14 changed the title Arduino fails to compile a sketch with tabs on ubuntu if path contains spaces Arduino fails to compile a sketch with tabs on ubuntu if path contains accent Oct 8, 2016
@Vincent14
Copy link
Author

Yes, you're right

@dlabun
Copy link

dlabun commented Oct 13, 2016

Any non-ASCII character will give you problems... There an open PR for Arduino builder that should fix the issue. [https://github.com/arduino/arduino-builder/pull/178]

@facchinm
Copy link
Member

Closing as duplicate of #5216

@cmaglie cmaglie added this to the Release 1.6.14 milestone Dec 19, 2016
@cmaglie cmaglie removed the Waiting for feedback More information must be provided before we can proceed label Dec 19, 2016
@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Jul 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

6 participants