Arduino 1.6.0 Upgrade

Support forum for MegunoLink
Post Reply
raescuin
Posts: 9
Joined: Sun Nov 16, 2014 9:13 pm

Fri Feb 13, 2015 8:17 am

I wonder if any body can help me. just upgraded my Arduino IDE to 1.6.0 and now I get the error below..

Arduino: 1.6.0 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
Using library MegunoLinkPro in folder: C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro (legacy)

C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files (x86)\Arduino\libraries\MegunoLinkPro C:\Users\Robert\AppData\Local\Temp\build6777783872713551886.tmp\SendToMLP.cpp -o C:\Users\Robert\AppData\Local\Temp\build6777783872713551886.tmp\SendToMLP.cpp.o

In file included from C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro/utility\InterfacePanel.h:3:0,
from C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro/MegunoLink.h:1,
from SendToMLP.ino:11:
C:\Program Files (x86)\Arduino\libraries\MegunoLinkPro/utility\MegunoLinkProtocol.h:9:9: error: 'prog_char' does not name a type
const prog_char * const m_pfchContext;
^
Error compiling.
philr
Posts: 279
Joined: Mon May 26, 2014 10:58 am

Mon Feb 16, 2015 8:36 am

Hi Raescuin, this should be fixed now if you download the latest library from here.

https://github.com/Megunolink/MLP

Cheers
Phil
aflaloc
Posts: 3
Joined: Wed Mar 04, 2015 12:31 pm

Wed Mar 04, 2015 12:43 pm

Hello Phil

I have the same problems after upgrading arduino software from 1.0.5 to 1.6.0.
I got compiling errors related to the lines
#include <X.h>
where 'X' are filenames from the Megunolink pro library.

The errors were not resoved after upgrading the MLP library from your the URL you suggested (https://github.com/Megunolink/MLP).

In addition, the current Megunolink pro version does not support Arduino v.1.6.0 in the 'arduino integration' tool.

Any good news?

Claude
philr
Posts: 279
Joined: Mon May 26, 2014 10:58 am

Thu Mar 05, 2015 5:54 am

Hi Claude,

Yep that's right. The integration tools require significant changes due to changes made in the Arduino IDE. Unfortunately, we are flat working on a hardware project but hope to get back on to MegunoLink fixes and features asap. My advice for now is to stick with 1.0.6 if you can.

Cheers
Phil
aflaloc
Posts: 3
Joined: Wed Mar 04, 2015 12:31 pm

Wed May 27, 2015 6:52 pm

Hello,
I finally tracked the source for the compile error encountered in Arduino versions 1.6.0 and up.
It turns out that these compile hangout/errors will invariably occur if you set in Arduino preferences (in File menu) the Compiler warnings to anything but 'None' (that is in my experience).
Just wanted to share this with the MLP forum.
I hope someone from the Arduino developers/advanced users is listening: It would be nice to have the Compiler warnings back...

Claude
DavePB
Posts: 3
Joined: Tue Dec 08, 2015 12:12 pm

Tue Dec 08, 2015 12:19 pm

Does this problem still exist or do I have a different problem? I am on day 2 of an evaluation to see if I can use this as a GUI to control my Android 433MHz remote controller/transmitter. I am getting the same error - at the end saying:

exit status 1
'prog_char' does not name a type


I have added the new library from here:
https://github.com/Megunolink/MLP
but still get the same results.

I am using Arduino 1.6.6 and am hoping I don't have to go back to 1.0.6 to get this to work....

Thanks,

Dave
DavePB
Posts: 3
Joined: Tue Dec 08, 2015 12:12 pm

Sat Dec 12, 2015 7:43 am

Just to clarify my posting, it turns out the above error is actually just a warning and doesn't stop the program running. The Blink2 example had a problem but that was fixed by support and my system is now operational using Arduino 1.6.6.

All I need to do now is make a purchase, as the application does what I need and saved me some development time.
Post Reply