Installing MySensors and Arduino IDE on OSX
-
Hi
I Installed Arduino IDE 1.0.6 and it works fine. I've compiled and uploaded sketches.
I installed all the mysensors libraries from 1.5 release and this error happens when I compile and upload (HuniditySensor is just an example it happens on other sketches too):
In file included from HumiditySensor.ino:31:
/Users/patrickschaerer/Documents/Arduino/libraries/MySensors/MySensor.h:158: error: expected type-specifier before 'MyHwDriver'
/Users/patrickschaerer/Documents/Arduino/libraries/MySensors/MySensor.h:158: error: default argument for parameter of type 'MyHw&' has type 'int'
/Users/patrickschaerer/Documents/Arduino/libraries/MySensors/MySensor.h:158: error: expected ',' before 'MyHwDriver'I deleted all the libraries an installed mysensor libraries from 1.4 release. Compiling and uploading works fine on 1.4 release.
Is there a bug in the 1.5 release or is something wrong with my installation?
-
The 1.5 release should work.
When you install 1.5, did you first remove all old libraries (for 1.4)? If not, try that.
-
1.5 was a clean install. After that I deleted all libraries and installed 1.4 and it worked with 1.4.
I tried to install 1.5 libraries over 1.4 but this did not help.
I took mysensor.h from codebender, but that got even more errors
-
I use the Arduino 1.6.5 IDE and the development build. Works perfectly for me on El Capitan.
-
ok I installed Arduino IDE 1.6.6 and mysensors 1.5
Now I can compile, but that IDE version doesn't work with my arduinos
avrdude: ser_open(): can't open device "/dev/cu.wchusbserial1420": Resource busy
it seems a known problem with osx and serial bus ... I think I'll compile and upload with the windows pc
-
I first tried with 1.6.6 but it did not work so now i use 1.6.5.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Some sensors permanently fail after one/two years
Troubleshooting • 25 Jul 2024, 17:17 • Kokosnoot 25 Jul 2024, 17:17 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Extraneous info in Debug log
Troubleshooting • 28 Jun 2024, 22:42 • Gibber 28 Jun 2024, 22:42