3 posts / 0 new
Last post
rranjan
Error compiling Arduino code

I am getting the following error message when compiling the arduino 
code:

Arduino: 1.8.5 (Windows 10), Board: "Arduino M0 Pro (Native USB Port)"

C:\Users\javan\OneDrive\Documents\Arduino\libraries\libraries\ssni_coap_server\temp_sensor.cpp:32:29: 
fatal error: Adafruit_Sensor.h: No such file or directory

#include <Adafruit_Sensor.h>

^

compilation terminated.

exit status 1 
Error compiling for board Arduino M0 Pro (Native USB Port).

What could be the reason for this error ?

Type: 
Public
hshekhar
Error compiling Arduino code

Please make sure that you have included all required libraries, per the dev portal documentation. Refer below link for detail

https://developer.ssni.com/milli-developer-kit-reference-application

The error message that I see for the compile is typically due to the fact that you are missing one of the includes.  Try going into Tools/Includes/Manage Includes and make sure that all the libraries stated as required in the developer portal are included.

rranjan
Error compiling Arduino code

Compilation is fine now. I'm trying to setup a CoAP client. Creating another thread so to keep them separate for discussion.