OpenGarage Forums OpenGarage Firmware Compile error for V1.0.8 from github master branch

This topic contains 1 reply, has 2 voices, and was last updated by  Ray 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1147

    Rambooka
    Participant

    After opening the demo app for the OpenGarage libray in the Arduino, when I try to compile I get thee following error
    also the include file “lwip/tcp_impl.h” is not found by the Arduino compiler
    Can someone point out what i am doing wrong

    Thanks
    Rambooka

    C:\Users\RayAb\Documents\Arduino\libraries\OpenGarage\main.cpp:565:26: error: ‘MQTT’ does not name a type

    void mqtt_callback(const MQTT::Publish& pub) {

    ^

    C:\Users\RayAb\Documents\Arduino\libraries\OpenGarage\main.cpp:565:39: error: expected unqualified-id before ‘&’ token

    void mqtt_callback(const MQTT::Publish& pub) {

    ^

    C:\Users\RayAb\Documents\Arduino\libraries\OpenGarage\main.cpp:565:39: error: expected ‘)’ before ‘&’ token

    C:\Users\RayAb\Documents\Arduino\libraries\OpenGarage\main.cpp:565:41: error: expected initializer before ‘pub’

    void mqtt_callback(const MQTT::Publish& pub) {

    ^

    exit status 1
    Error compiling for board SparkFun ESP8266 Thing.

    #1156

    Ray
    Keymaster

    The readme page:
    https://github.com/OpenGarage/OpenGarage-Firmware
    says there are several libraries you need to install, including the MQTT one. Did you install the library?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

OpenGarage Forums OpenGarage Firmware Compile error for V1.0.8 from github master branch