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

Script Error - 'Scketches Dir' does not exist #6

Open
renatoaloi opened this issue Sep 29, 2014 · 2 comments
Open

Script Error - 'Scketches Dir' does not exist #6

renatoaloi opened this issue Sep 29, 2014 · 2 comments

Comments

@renatoaloi
Copy link

Is it an issue? May have I done something wrong?
Tks
Renato Aloi

P.S.: I am using CodeBlocks 13.12 @ Ubuntu 32 bits 14.04 LTS and I have performed extra step to CodeBlock newer than version 10.

SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist]

CALLSTACK
*FUNCTION [CreateTarget()] /usr/share/codeblocks/templates/wizard/arduino/wizard.script line [282]
*FUNCTION [SetupProject()] /usr/share/codeblocks/templates/wizard/arduino/wizard.script line [454]

LOCALS
[pb_arlink] INSTANCE
[pb_ar] INSTANCE
[optimized] false
[build_core2] INSTANCE
[build_core1] INSTANCE
[pb_lss] INSTANCE
[pb_bin] INSTANCE
[pb_eepbin] INSTANCE
[pb_hex] INSTANCE
[pb_eephex] INSTANCE
[pb_avrsize] INSTANCE
[lo_extmem] INSTANCE
[lo_map] INSTANCE
[target] INSTANCE
[max_sram] INSTANCE
[max_size] INSTANCE
[cpu_freq] INSTANCE
[baudrate] INSTANCE
[protocol] INSTANCE
[variant] INSTANCE
[processor] INSTANCE
[targetName] INSTANCE
[project] INSTANCE
[this] TABLE
[project] INSTANCE
[this] TABLE

@renatoaloi
Copy link
Author

Sorry about duplicated issue. But I have solved another way, adding booth macros to wizard.script:

SketchesDir <- _T("$(HOME)/.codeblocks/sketches");
SketchDir <- _T("$(HOME)/.codeblocks/sketches");

@lpiob
Copy link

lpiob commented Oct 27, 2014

I can confirm that this bug exists&can be fixed with suggestion from above comment.

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