Why does mBlock ship with and install Arduino IDE 1.6.5 only?
The current version of the Arduino IDE is now up to 1.8.1 which has had significant work done on handling and managing libraries.
I am trying to write an mBlock V3.4.6 extension that uses an existing library (Adafruit TCS34725 colour sensor).
I can successfully write simple working extensions for mBlock provided it only has one .H and one .CPP file.
As soon as I include an additional set of .H and .CPP library files the upload to Arduino fails, with lots of multiple definition errors or undefined errors. Note that this upload uses Arduino IDE / compiler version 1.6.5!
If I take the Arduino C source code generated by mBlock V3.4.6 and my extension and place it in a separate Arduino sketch (unmodified) and compile/upload using Arduino V1.8.1 it compiles and works perfectly.
Is there a method to uncouple mBlock and Arduino 1.6.5 and force it to use other Arduino versions like 1.8.1?
I think the older library management of Arduino 1.6.5 is the issue here!
I know that I have discovered a workaround but workarounds are not suitable when teaching school children how to code.
Hope someone can help.
Phil