Skip to content

AN ERROR HAS OCCURED [the index 'SketchesDir' does not exist] #9

Open
@JWindy

Description

@JWindy

Hi there,

i just tried to set up code::blocks for arduino and got the following error, when creating a new project:

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

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

It seems to me that in wizard.script the variable SketchDir <- _T("$(HOME)/.codeblocks/sketches"); is initialised in line 63, however in line 282 SketchesDir is called. Removing the typo solves the error. Would you please change it in the next release?

Thanks alot for the IDE!
Windy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions