Re: New IDE v1.6.8
Posted: Tue Nov 28, 2017 11:15 pm
Sorry...
No update.
I need to find the new VM for the MacOSX
No update.
I need to find the new VM for the MacOSX
Community discussion about Reef Angel Controllers and reefing related subjects
http://forum.reefangel.com/
no worries. I just wanted to ask.rimai wrote:Sorry...
No update.
I need to find the new VM for the MacOSX
is there something i could do to help out?rimai wrote:Sorry...
No update.
I need to find the new VM for the MacOSX
ok. i’ll look into doing that sometime later this week. might as well let my laptop do something with the background cpu cycles when i’m using a web browser to do my office paperwork.rimai wrote:You can try recompiling the Arduino IDE on your OS
https://github.com/reefangel/Arduino
You would need to fork it, merge with the latest release from Arduino team branch. They are already on 1.8.5
Then compile.
The fix for Sierra was released around 1.6.12 and my fork is on 1.6.8
I've got the latest 1.8.6 compiled on my system. Now I have switched over to migrating 1.8.5 release (since 1.8.6 isn't finalized yet) into the reefangel branch and will be getting that to compile. I'm done working on it tonight, so I'll be working on it more in the next few days. I just have to make sure that the changes are maintained in your branch and that I follow along with the new changes that were made to the environment. Anyways, I should have a working build of the RA Arduino this weekend and I'll get it to you for you to test out and then package up for distribution.rimai wrote:You can try recompiling the Arduino IDE on your OS
https://github.com/reefangel/Arduino
You would need to fork it, merge with the latest release from Arduino team branch. They are already on 1.8.5
Then compile.
The fix for Sierra was released around 1.6.12 and my fork is on 1.6.8
roberto, what did you have to do on the mac to get rid of this error? i’ve got 1.8.5 compiled and running but i get this error with the addon functions and the boards are incorrect.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)
The Reef Angel Libraries version works from these tools.rimai wrote:Try these tools folder.
https://www.dropbox.com/s/0fxyokdsm7s1m ... s.zip?dl=0
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getCode(I)Lprocessing/app/SketchCode;
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:80)
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)
ok. that makes sense. i do think some things changed.rimai wrote:There might be a change on the Arduino IDE that requires the wizard and preloaded code to be recompiled too.
I have only tested on v1.6.8.
no problem. I know you are busy. I just wanted to check up on it.rimai wrote:Didn't got around doing that yet.
There were some issues with including the correct libraries and dealing with the additional tools. I think there was also an issue with compilations with the latest libraries. I don't recall about the exact compilation problem because i was more focused on the main errors.rimai wrote:Can you explain a little more of what the problem you are having?
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getCode(I)Lprocessing/app/SketchCode;
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:80)
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)
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: processing.app.Sketch.getCode(I)Lprocessing/app/SketchCode;
at com.reefangel.tool.RestorePreloaded.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:80)
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)
Code: Select all
Archiving built core (caching) in: /var/folders/3h/m3xyqrbj57vf3kmyrzy3zn900000gp/T/arduino_cache_671070/core/core_arduino_avr_RAStar_c41a4462a748f55bf51d70a30288e42f.a
Multiple libraries were found for "Ethernet.h"
Used: /Users/binder/ownCloud/Documents/Arduino/libraries/Ethernet
Not used: /Users/binder/Projects/ra-arduino/build/macosx/work/Arduino.app/Contents/Java/libraries/Ethernet
libraries/ReefAngel/ReefAngel.cpp.o (symbol from plugin): In function `ReefAngelClass::DisplayMenuHeading()':
(.text+0x0): multiple definition of `__vector_9'
libraries/SoftwareSerial/SoftwareSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here
/Users/binder/Projects/ra-arduino/build/macosx/work/Arduino.app/Contents/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Reef Angel Star Controller.
you never know.rimai wrote:I don't think you need to run the Restore Preloaded code, right?
I think the issue lies with extra libraries that are included by default but we don't typically need them. I think I vaguely recall from years past that we had to remove a specific library due to it including something we didn't need...or multiple definitions...or something like that. I'm not positive though.I never had problem compiling code though.
I'll double check.
Ok, here's a follow up. I've got it able to compile code now. The issue was the SoftwareSerial problem from a while ago. I had to track down the old changes and then locate the problem and comment out lines in the source files.rimai wrote:I don't think you need to run the Restore Preloaded code, right?
I never had problem compiling code though.
I'll double check.