Skip to content
  • MySensors
  • 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. Compiling Problems since Update to 1.5

Compiling Problems since Update to 1.5

Scheduled Pinned Locked Moved Troubleshooting
compilingproblemsrelease 1.5
3 Posts 3 Posters 1.8k Views 2 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.
  • M Offline
    M Offline
    michlb1982
    wrote on last edited by
    #1

    Hi
    today i updated to Release 1.5 but now i cant't compile any more...
    i Use Arduino 1.6.5 on my Win10 and Arduino 1.6.4 on my Mac...
    i always get the message:
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp: In constructor 'MyGateway::MyGateway(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:27:167: error: no matching function for call to 'MySensor::MySensor(uint8_t&, uint8_t&)'
    MyGateway::MyGateway(uint8_t _cepin, uint8_t _cspin, uint8_t _inclusion_time, uint8_t _inclusion_pin, uint8_t _rx, uint8_t _tx, uint8_t _er) : MySensor(_cepin, _cspin) {
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:27:167: note: candidates are:
    In file included from /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.h:15:0,
    from /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:12:
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:153:2: note: MySensor::MySensor(MyTransport&, MyHw&)
    MySensor(MyTransport &radio =new MyTransportNRF24(), MyHw &hw=new MyHwDriver()
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:153:2: note: no known conversion for argument 1 from 'uint8_t {aka unsigned char}' to 'MyTransport&'
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:144:7: note: MySensor::MySensor(const MySensor&)
    class MySensor
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:144:7: note: candidate expects 1 argument, 2 provided
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp: In member function 'void MyGateway::begin(rf24_pa_dbm_e, uint8_t, rf24_datarate_e, void (
    )(char
    ))':
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:41:20: error: 'setupRepeaterMode' was not declared in this scope
    setupRepeaterMode();
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:78:39: error: 'setupRadio' was not declared in this scope
    setupRadio(paLevel, channel, dataRate);
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:79:36: error: 'BASE_RADIO_ID' was not declared in this scope
    RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
    ^
    /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:81:23: error: cannot call member function 'void RF24::startListening()' without object
    RF24::startListening();

    I'm not a programmer just a little tinker... ;-) so please can anyone help me?

    thanks

    S 1 Reply Last reply
    0
    • M michlb1982

      Hi
      today i updated to Release 1.5 but now i cant't compile any more...
      i Use Arduino 1.6.5 on my Win10 and Arduino 1.6.4 on my Mac...
      i always get the message:
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp: In constructor 'MyGateway::MyGateway(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)':
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:27:167: error: no matching function for call to 'MySensor::MySensor(uint8_t&, uint8_t&)'
      MyGateway::MyGateway(uint8_t _cepin, uint8_t _cspin, uint8_t _inclusion_time, uint8_t _inclusion_pin, uint8_t _rx, uint8_t _tx, uint8_t _er) : MySensor(_cepin, _cspin) {
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:27:167: note: candidates are:
      In file included from /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.h:15:0,
      from /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:12:
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:153:2: note: MySensor::MySensor(MyTransport&, MyHw&)
      MySensor(MyTransport &radio =new MyTransportNRF24(), MyHw &hw=new MyHwDriver()
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:153:2: note: no known conversion for argument 1 from 'uint8_t {aka unsigned char}' to 'MyTransport&'
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:144:7: note: MySensor::MySensor(const MySensor&)
      class MySensor
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MySensor.h:144:7: note: candidate expects 1 argument, 2 provided
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp: In member function 'void MyGateway::begin(rf24_pa_dbm_e, uint8_t, rf24_datarate_e, void (
      )(char
      ))':
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:41:20: error: 'setupRepeaterMode' was not declared in this scope
      setupRepeaterMode();
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:78:39: error: 'setupRadio' was not declared in this scope
      setupRadio(paLevel, channel, dataRate);
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:79:36: error: 'BASE_RADIO_ID' was not declared in this scope
      RF24::openReadingPipe(WRITE_PIPE, BASE_RADIO_ID);
      ^
      /Users/michaelberger/Dropbox/Arduino/libraries/MySensors/MyGateway.cpp:81:23: error: cannot call member function 'void RF24::startListening()' without object
      RF24::startListening();

      I'm not a programmer just a little tinker... ;-) so please can anyone help me?

      thanks

      S Offline
      S Offline
      Sparkman
      Hero Member
      wrote on last edited by
      #2

      @michlb1982 Make sure to delete all of the 1.4 files before loading 1.5. At this point I would shut down the IDE, delete all of the MySensors libraries and then reinstall the 1.5 files and then restart the IDE.

      Cheers
      Al

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dirk_H
        Contest Winner
        wrote on last edited by
        #3

        THanks! it worked for me too! :)

        @hek Maybe we should put a small hint about this (first delete old MySensors 1.4) on the Downloadpage?

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        21

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 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
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular