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 -
NODs stop responding, but ping works.
Troubleshooting ā¢ 8 Mar 2025, 19:47 ā¢ Marcin 8 Mar 2025, 19:47 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting ā¢ 6 Sept 2019, 07:51 ā¢ Timbergetter 15 days ago -
Forum Search not working?
Troubleshooting ā¢ 4 Oct 2023, 23:33 ā¢ Gibber 2 Sept 2024, 20:28 -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 3 Mar 2025, 01:00 -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47