Adafruit_Sensor.h:75:5: error: 'int8_t' does not name a type
inibir opened this issue · 1 comments
inibir commented
Hello
i'm beginer in arduino and don't know how to fix this error
thanx
Arduino: 1.6.7 Hourly Build 2015/11/04 11:34 (Windows 7), Board: "Arduino/Genuino Uno"
In file included from C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.cpp:1:0:
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:75:5: error: 'int8_t' does not name a type
int8_t status;
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:76:5: error: 'uint8_t' does not name a type
uint8_t reserved[3];
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:90:5: error: 'uint32_t' does not name a type
uint32_t rgba; /**< 24-bit RGBA value */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:97:5: error: 'int32_t' does not name a type
int32_t version; /**< must be sizeof(struct sensors_event_t) */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:98:5: error: 'int32_t' does not name a type
int32_t sensor_id; /**< unique sensor identifier */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:99:5: error: 'int32_t' does not name a type
int32_t type; /**< sensor type */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:100:5: error: 'int32_t' does not name a type
int32_t reserved0; /**< reserved */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:101:5: error: 'int32_t' does not name a type
int32_t timestamp; /**< time is in milliseconds */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:125:5: error: 'int32_t' does not name a type
int32_t version; /**< version of the hardware + driver */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:126:5: error: 'int32_t' does not name a type
int32_t sensor_id; /**< unique sensor identifier */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:127:5: error: 'int32_t' does not name a type
int32_t type; /**< this sensor's type (ex. SENSOR_TYPE_LIGHT) */
^
C:\Users\hdp-1\Documents\Arduino\libraries\Adafruit_Sensor-master\Adafruit_Sensor.h:131:5: error: 'int32_t' does not name a type
int32_t min_delay; /**< min delay in microseconds between events. zero = not a constant rate */
^
exit status 1
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
microbuilder commented
Hi ... can you please raise this in the Adafruit support forums? The support staff doesn't monitor Github issues or get the email alerts for them. Thanks!