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.5k 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.
  • michlb1982M Offline
    michlb1982M 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

    SparkmanS 1 Reply Last reply
    0
    • michlb1982M 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

      SparkmanS Offline
      SparkmanS 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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        17

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        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