Closed spazone closed 5 years ago
You need to install the wire library or keep the libraries folder in your sketch folder as it is on GitHub.
On Mon, Dec 31, 2018, 4:57 PM spazone <notifications@github.com wrote:
Hello everyone!
I have absolutely no coding experience (I'm actually a chemist), and after following all the steps to set up the arduino IDE in the wiki (I believe properly, but evidently not) I'm receiving this error when compiling:
[image: image] https://user-images.githubusercontent.com/37964697/50568205-953cf400-0d2d-11e9-8a75-1c4a87b414c7.png
I have absolutely no idea what could be wrong, so any help would be greatly appreciated!!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/81, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdCMLI8h4DUO739EeDhgSBzpbNQ3Zb9ks5u-og9gaJpZM4ZlrSV .
You mean instead of copying all of them to arduino libraries folder? (I copied all of them to arduino’s folder, and kept them as unzipped in the master folder of FX saberOS) Thanks for the quick reply!!!
Happy new year!!!
Assuming they are in the correct folder that should be fine. If you haven't restarted the IDE then that will probably solve your problem, if it is in the correct folder. You can also leave it as a sub folder to the sketch.
You can try installing from the repository via the sketch->include library menu if that doesn't work.
On Mon, Dec 31, 2018, 6:14 PM spazone <notifications@github.com wrote:
You mean instead of copying all of them to arduino libraries folder? (I copied all of them to arduino’s folder, and kept them as unzipped in the master folder of FX saberOS) Thanks for the quick reply!!!
Happy new year!!!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Protonerd/FX-SaberOS/issues/81#issuecomment-450698227, or mute the thread https://github.com/notifications/unsubscribe-auth/ATdCMP58omu6EUZHEFqcCr-ilOyOpUNSks5u-pphgaJpZM4ZlrSV .
Which version of the Arduino IDE are you using?
Thank you all for your support! I'm not really sure what was wrong, but I uninstalled IDE (seems like I had an old folder somewhere and it kept searching in both folders), started everything from blank, left libraries in project folder and in arduino libraries folder and.. it compiled!!!! I'm about to try it now, happy new year everybody! (I installed Arduino IDE app from Microsoft store)
You must have been using a version of the Arduino IDE older than 1.6.10. FX-SaberOS is not compatible with those IDE versions because they require that sketches contain #include
directives for library dependencies, such as Wire.h. That could be fixed by adding this line to the sketch:
#include <Wire.h>
but I don't know whether it's worth the effort and clutter to support outdated IDE versions. It might be worth adding a note to https://github.com/Protonerd/FX-SaberOS/wiki/Setting-up-Arduino that specifies that the latest IDE version must be used.
Hello everyone!
I have absolutely no coding experience (I'm actually a chemist), and after following all the steps to set up the arduino IDE in the wiki (I believe properly, but evidently not) I'm receiving this error when compiling:
I have absolutely no idea what could be wrong, so any help would be greatly appreciated!!