New IDE v1.6.8

Related to the development libraries, released by Curt Binder

Posts: 12246
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Apr 30, 2016 10:09 pm
Hi Guys,

For anyone that would like to try out the new IDE, please download it at:
Windows: https://www.dropbox.com/s/mrpor1261zln9 ... v.exe?dl=0
MacOSX: https://www.dropbox.com/s/zyohe8hbgxbhv ... v.dmg?dl=0
It contains the latest dev libraries.
Some of the improvements:
* Libraries manager
* Line numbers
* Collapsible brackets
* Serial monitor stays open when uploading codes

Changes to the libraries were required to comply with the new gcc-avr compiler version.
The most important are:
* progr_char is now char
* prog_uchar is now unsigned char
* if you used custom menu, you will need to make these changes:
1. Declare the menu options like this:
Code: Select all
const char menu0_label[] PROGMEM = "Feeding Mode";

2. Initialize the menu like this:
Code: Select all
  for (int a=0;a<SIZE(menu_items);a++)
    ReefAngel.InitMenu(pgm_read_word(&(menu_items[a])),a);


Please let me know if you encounter any problems and if I missed anything.
Roberto.
User avatar
Posts: 1426
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City
PostPosted: Sun May 01, 2016 5:27 am
So far so good. Only hiccup was with Windows and my Avast virus protection which messed up the first attempt at installation. Had to uninstall then re-install. Works great after that. I love the folding feature (collapsible brackets) and the line numbers.

You will need to update the libraries before you can compile anything.

--Colin

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Wed May 04, 2016 2:36 am
When I try and run the wizard or restore default code for example, I see errors like this.

Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Base.getSketchbookFolder()Ljava/io/File;
   at com.reefangel.tool.Wizard$WizardPreferences.<clinit>(Unknown Source)
   at com.reefangel.tool.Wizard.run(Unknown Source)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
User avatar
Posts: 1426
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City
PostPosted: Wed May 04, 2016 2:44 am
I get the same. Also happens with "Libraries Version"

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Wed May 04, 2016 4:09 am
Have any of the included libraries been updated for 1.6.8?

Nothing will compile, started correcting the libraries but once you've fixed one, another throws multiple errors.

Posts: 12246
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed May 04, 2016 10:51 am
Sorry. I forgot to send the new wizard and other tools too with the installation package.
Roberto.

Posts: 12246
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed May 04, 2016 10:52 am
dansonamission wrote:Have any of the included libraries been updated for 1.6.8?

Nothing will compile, started correcting the libraries but once you've fixed one, another throws multiple errors.

This installation package should contain the latest dev branch that compiles with the new ide.
Roberto.

Posts: 10
Joined: Tue May 03, 2016 5:32 am
PostPosted: Wed May 04, 2016 10:57 am
rimai wrote:Sorry. I forgot to send the new wizard and other tools too with the installation package.


Can you please let us know when we can download an update which includes the tools etc.

There were a few library files i had to update.

* progr_char to char
* prog_uchar to unsigned char
User avatar
Posts: 1426
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City
PostPosted: Mon May 09, 2016 4:15 pm
Edit: Looks like something changed in Avast antivirus. I added RA to the exclusion list and it's working again.

So not sure why, but on both my PC's, today it took FOREVER to compile. I thought it was locking up at first. i5 and an i7. They're normally pretty speedy. I tried re-installing on my i7 desktop, but ended up getting some weird error so I went back to the production version.
User avatar
Posts: 5349
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Fri Jul 01, 2016 10:36 pm
Is there a MAC version yet?
Next

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 2 guests

cron