User forums > Embedded development

CB and Arduino 1.6.x

<< < (6/13) > >>

oBFusCATed:

--- Quote from: stahta01 on June 26, 2016, 02:04:06 am ---But, the Arduino 1.6.9 I have on my Computer does NOT support those last three hardware targets.
So, likely no problem exists; I have not tried to figure out how to setup the two Simulator Targets.

--- End quote ---
Same here. Probably I'll just remove them.
I've not tried a simulator setup, too.

Can you provide a patch for README.md with the steps needed to setup the wizard on windows?

stahta01:

--- Quote from: oBFusCATed on June 26, 2016, 10:30:32 am ---
--- Quote from: stahta01 on June 26, 2016, 02:04:06 am ---But, the Arduino 1.6.9 I have on my Computer does NOT support those last three hardware targets.
So, likely no problem exists; I have not tried to figure out how to setup the two Simulator Targets.

--- End quote ---
Same here. Probably I'll just remove them.
I've not tried a simulator setup, too.

Can you provide a patch for README.md with the steps needed to setup the wizard on windows?

--- End quote ---

I will see what I need to do; I will have to do a fresh CB Install and other stuff.

Overall outline of sections that I remember.

1. Copy Wizard Files
2. Edit wizard config script
3. Edit AVR Toolchain settings (I think that doing a patch to create Arduino Compiler Toolchain is a good Idea for someone to do)
4A. Install Arduino 1.6.9 (I plan to use zip download instead of installer download)
4B. Set CB Global Var "Arduino" to point to Arduino 1.6.9 folder.


It will take a while for me to get the time to do it.
One of the hard things for me to document on Windows is how to edit the "wizard config script".
Do you know of any other places that document how to edit "wizard config script" on Windows?

Tim S.

stahta01:
FYI: A problem on Windows that I have been ignoring is I get this message below.


--- Code: ---Arduino Project has failed to load XRC resource...

--- End code ---

I have been thinking I need to test with wxWidgets 3.0 to see if the message goes away.
But, I have NOT yet had time to do any testing.

Have you tested on any Linux that uses wxWidgets 2.8?

Tim S.

AZ:

--- Quote from: oBFusCATed on June 26, 2016, 12:49:52 am ---https://github.com/obfuscated/cb_arduino_template now supports Arduino 1.6.9. Please test and report if there are any problems with the wizard.

--- End quote ---
awesome news! let me try on Fedora 22. I'll update the thread  in next 2 days

UPDATE:
cb start:

--- Code: ---[az@toshiba ~]$ codeblocks
Warning: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1008,wx containers,compatible with 2.4,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1009,wx containers,compatible with 2.4,compatible with 2.6).
Starting Code::Blocks svn build  rev 10868 Jun 14 2016, 05:59:11 - wx2.8.12 (Linux, unicode) - 64 bit
Initialize EditColourSet .....
Initialize EditColourSet: done.
.....


--- End code ---

And the error message is attached as a snapshot:

--- Code: ---Filename: /home/az/.local/share/codeblocks/templates/wizard//config.script
Error: the index 'RegisterWizard' does not exist
Details:
AN ERROR HAS OCCURED [the index 'RegisterWizard' does not exist]

CALLSTACK
*FUNCTION [main()] /home/az/.local/share/codeblocks/templates/wizard//config.script line [1]

LOCALS
[this] TABLE

--- End code ---

Also in the log i see:

--- Code: ---....
Help plugin plugin activated
Header Fixup plugin activated
Code statistics plugin activated
Files extension handler plugin activated

(codeblocks:2314): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 18 and height -16


--- End code ---

Similiar error was posted here (forums.codeblocks.org/index.php?action=post;msg=145176;topic=21252.15) with the resolution :

--- Code: ---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.

--- End code ---

wxWidgets are:

--- Code: --- rpm -qa | grep wx
wxGTK-2.8.12-16.fc22.x86_64
wxBase-2.8.12-16.fc22.x86_64


--- End code ---

tried all versions until codeblocks.x86_64 16.01.svn.10827-1.fc22 with no positive results.

stahta01:

--- Code: ---Error: the index 'RegisterWizard' does not exist

--- End code ---

The above happens if you do NOT have the scriptedWizard plugin installed and enabled.

Edit: All your other issues; are NOT related to the CB Wizard change.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version