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. Development
  3. Errors compiling MQTTGateway

Errors compiling MQTTGateway

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 1.8k 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.
  • T Offline
    T Offline
    tomkxy
    wrote on last edited by
    #1

    When trying to compile an adapted version of MTTClientGateway for use with the nrf24L01 I get the following errors:

    Arduino: 1.6.4 (Mac OS X), Platine: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
    
    Build-Optionen wurden verändert, alles wird neu gebaut
    Verwende die Bibliothek DigitalIO im Ordner: /Users/tom/Documents/Arduino/libraries/DigitalIO (legacy)
    Verwende die Bibliothek SPI im Ordner: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI 
    Verwende die Bibliothek MySensors im Ordner: /Users/tom/Documents/Arduino/libraries/MySensors (legacy)
    Verwende die Bibliothek MsTimer2 im Ordner: /Users/tom/Documents/Arduino/libraries/MsTimer2 (legacy)
    Verwende die Bibliothek Ethernet im Ordner: /Applications/Arduino.app/Contents/Java/libraries/Ethernet 
    
    /Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10604 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega -I/Users/tom/Documents/Arduino/libraries/DigitalIO -I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI -I/Users/tom/Documents/Arduino/libraries/MySensors -I/Users/tom/Documents/Arduino/libraries/MsTimer2 -I/Applications/Arduino.app/Contents/Java/libraries/Ethernet/src /var/folders/3s/rjbksrj96nv0hqfqjlpfw8bm0000gn/T/build5138094512674816324.tmp/MQTTGateway.cpp -o /var/folders/3s/rjbksrj96nv0hqfqjlpfw8bm0000gn/T/build5138094512674816324.tmp/MQTTGateway.cpp.o 
    In file included from MQTTGateway.ino:84:0:
    /Users/tom/Documents/Arduino/libraries/MySensors/MySigningAtsha204Soft.h:40:0: warning: "SIGNING_IDENTIFIER" redefined [enabled by default]
     #define SIGNING_IDENTIFIER (1)
     ^
    In file included from MQTTGateway.ino:80:0:
    /Users/tom/Documents/Arduino/libraries/MySensors/MySigningNone.h:35:0: note: this is the location of the previous definition
     #define SIGNING_IDENTIFIER (0)
     ^
    In file included from /Users/tom/Documents/Arduino/libraries/MySensors/MyTransportRFM69.h:26:0,
                     from MQTTGateway.ino:81:
    /Users/tom/Documents/Arduino/libraries/MySensors/utility/RFM69.h:78:62: error: 'RF69_IRQ_PIN' was not declared in this scope
         RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
                                                                  ^
    /Users/tom/Documents/Arduino/libraries/MySensors/utility/RFM69.h:78:116: error: 'RF69_IRQ_NUM' was not declared in this scope
         RFM69(byte slaveSelectPin=RF69_SPI_CS, byte interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, byte interruptNum=RF69_IRQ_NUM) {
                                                                                                                        ^
    In file included from MQTTGateway.ino:81:0:
    /Users/tom/Documents/Arduino/libraries/MySensors/MyTransportRFM69.h:33:145: error: 'RF69_IRQ_PIN' was not declared in this scope
      MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);
                                                                                                                                                     ^
    /Users/tom/Documents/Arduino/libraries/MySensors/MyTransportRFM69.h:33:202: error: 'RF69_IRQ_NUM' was not declared in this scope
      MyTransportRFM69(uint8_t freqBand=RFM69_FREQUENCY, uint8_t networkId=RFM69_NETWORKID, uint8_t slaveSelectPin=RF69_SPI_CS, uint8_t interruptPin=RF69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=RF69_IRQ_NUM);
                                                                                                                                                                                                              ^
    Fehler beim Kompilieren.
    

    I receive the same error trying to compile the MQTTGateway which is part of the MySensors library. I didn't change MyConfig.h and I am not aware where this error is originating from.

    Any ideas?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      You got AtMega2560, try development-branch where this has been fixed.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tomkxy
        wrote on last edited by
        #3

        Thanks a lot! Works now!

        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


        10

        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