Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: c01d on March 20, 2016, 07:38:04 pm

Title: Cannot create AVR project with wizard
Post by: c01d on March 20, 2016, 07:38:04 pm
Hi there,

First: Thank you for your work on Code::Blocks!

I encounter the following issue:

When creating an AVR project with the wizard, the project fails to become fully created. While in the Porjects-view under "Workspace" I see my projects, no files are created/assigned to them. There is also an error message showing up after the wizard seems to think he created the project:

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

CALLSTACK
*FUNCTION [GetFuseBytes()] /usr/share/codeblocks/templates/wizard/avr/wizard.script line [325]
*FUNCTION [GetGeneratedFile()] /usr/share/codeblocks/templates/wizard/avr/wizard.script line [346]

LOCALS
0
[fuses] INSTANCE
[parts] INSTANCE
[part] INSTANCE
[this] TABLE
[file_index] 1
[this] TABLE


This occurs in the latest nightly (I built it with Jens Lody's instructions and checked out only a few minutes ago), but also in C::B 13.12 this problem exists (I had installed 13.12 from the debian repos, but purged absolutely everything before I installed the latest nightly).

I am on Debian Jessie (== stable), AMD 64.

Any ideas?

Thank you and best greetings
Benjamin
Title: Re: Cannot create AVR project with wizard
Post by: oBFusCATed on March 22, 2016, 12:11:00 am
Can you tell me what options are you choosing in the last dialog?
It seems they matter and probably there are only few combinations that fail.
Title: Re: Cannot create AVR project with wizard
Post by: oBFusCATed on March 22, 2016, 12:34:22 am
You can ignore my last comment.
This doesn't work because wxArrayString::Item is missing from the squirrel bindings your version of c::b.
The first fixed version is rev10400. So you need to install a recent night build or the latest stable build 16.01.
Title: Re: Cannot create AVR project with wizard
Post by: c01d on March 22, 2016, 08:46:07 pm
Dear obfuscated,

Thank you a lot for your quick reply!

First: it works!

I run svn rev 10794.

Well, that is the same version as I was running when I wrote my initial post .... seems I mixed up the previous and the nightly install.

So sorry for stealing your time! :-(
Title: Re: Cannot create AVR project with wizard
Post by: oBFusCATed on March 22, 2016, 08:51:22 pm
No problem. In fact I've found another little bug... :)