Skip to content

Arduino - Missing File 'LowPower.h' #3

@TGit-Tech

Description

@TGit-Tech

While trying to use this library on an Arduino UNO with Arduino 1.8.3 IDE.

Took a while to find out this missing dependency had a link in the MqttsnClient.cpp file on line #223 //https://github.com/LowPowerLab/LowPower.

Might consider adding the dependency to the instructions :)

Also, it seems there's a reference to 'using namespace std' - of which I'm thinking requires another outside library.

I ended up with compile error ->

C:\Users\<username>\AppData\Local\Temp\ccU2dsiN.ltrans2.ltrans.o: In function `Print::print(__FlashStringHelper const*) [clone .constprop.26]':

C:\Users\<username>\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino/Print.cpp:51: undefined reference to `debug'

Before, I gave up and decided to go back to the Synchronous MQTT-SN code which compiled without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions