OpenBCI / OpenBCI_Radios

Libraries and firmware for OpenBCI Radio Modules
MIT License
18 stars 21 forks source link

RFDuino library expects g++ compiler, which is no longer present #1

Closed chipaudette closed 9 years ago

chipaudette commented 9 years ago

The RFDuino library, via its "platform.txt" configuration file, expects there to be a g++ compiler. In Arduino 1.5.7 and 1.5.8 for Windows (maybe also other platforms, and maybe also earlier versions), the g++ compiler is no longer present. So, the code won't compile.

A workaround has been found using the gcc compiler through the Arduino toolchain (presumably in place of the g++ compiler). See:

http://openbci.com/forum/index.php?p=/discussion/259/missing-compiler-when-re-programming-the-rfduinos-dongle-and-openbci-device#latest

Can this be fixed so that it works without users having to edit any files?

Chip

biomurph commented 9 years ago

Changed the platform.txt file so that it points to the right compiler path. Also verified that this will work on Mac and Windows