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 -
Ghost Child
Troubleshooting • 25 days ago • FcNanoLed 22 days ago -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
NODs stop responding, but ping works.
Troubleshooting • 8 Mar 2025, 19:47 • Marcin 8 Mar 2025, 19:47 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 12 days ago