Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Installing MySensors and Arduino IDE on OSX
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Installing MySensors and Arduino IDE on OSX

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 4 Posters 2.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    patrick schaerer
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      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 Reply Last reply
      0
      • P Offline
        P Offline
        patrick schaerer
        wrote on last edited by
        #3

        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 :(

        1 Reply Last reply
        0
        • GertSandersG Offline
          GertSandersG Offline
          GertSanders
          Hardware Contributor
          wrote on last edited by
          #4

          I use the Arduino 1.6.5 IDE and the development build. Works perfectly for me on El Capitan.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            patrick schaerer
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • ErrKE Offline
              ErrKE Offline
              ErrK
              Plugin Developer
              wrote on last edited by ErrK
              #6

              I first tried with 1.6.6 but it did not work so now i use 1.6.5.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              7

              Online

              11.7k

              Users

              11.2k

              Topics

              113.0k

              Posts


              Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • OpenHardware.io
              • Categories
              • Recent
              • Tags
              • Popular