News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cannot create AVR project with wizard

Started by c01d, March 20, 2016, 07:38:04 PM

Previous topic - Next topic

c01d

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

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

c01d

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! :-(

oBFusCATed

No problem. In fact I've found another little bug... :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]