Giter Club home page Giter Club logo

azure_iothub_arduino_lib_esp32's Issues

Unable to Compile Thermostat Example for ESP 32

I am trying to compile the code and getting error:

_Arduino: 1.8.5 (Windows 7), Board: "ESP32 Dev Module, Default, QIO, 80MHz, 4MB (32Mb), 921600, None"

In file included from C:\Users\Sami Sarfraz\Documents\Arduino\libraries\arduino_48756\src\AzureIoTHubMQTTClient.h:27:0,

             from C:\Users\Sami Sarfraz\Documents\Arduino\libraries\arduino_48756\src\AzureIoTHubMQTTClient.cpp:5:

C:\Users\Sami Sarfraz\Documents\Arduino\libraries\arduino_48756\src\NtpClientLib.h:98:2: error: #error "Incorrect platform. Only ARDUINO and ESP8266 MCUs are valid."

#error "Incorrect platform. Only ARDUINO and ESP8266 MCUs are valid."

^

C:\Users\Sami Sarfraz\Documents\Arduino\libraries\arduino_48756\src\AzureIoTHubMQTTClient.cpp:10:25: fatal error: ESP8266WiFi.h: No such file or directory

compilation terminated.

Multiple libraries were found for "AzureIoTHub.h"
Used: C:\Users\Sami Sarfraz\Documents\Arduino\libraries\AzureIoTHub
Not used: C:\Users\Sami Sarfraz\Documents\Arduino\libraries\arduino_791381
Multiple libraries were found for "WiFi.h"
Used: C:\Users\Sami Sarfraz\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
Error compiling for board ESP32 Dev Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences._


I also cannot add library to Arduino IDE and get an error:

Arduino: 1.8.5 (Windows 7), Board: "ESP32 Dev Module, Default, QIO, 80MHz, 4MB (32Mb), 921600, None"

Specified folder/zip file does not contain a valid library
Specified folder/zip file does not contain a valid library
A subfolder of your sketchbook is not a valid library
A subfolder of your sketchbook is not a valid library

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.