BME680 sensor sketch not compiling

Hi,



I am using Ubuntu 16.04 with a USB connection to a Seeeduino v4.2 and a Grove Shield. I am have been using many Grove Products and they all work fine. Now I am trying to set up the BME680 Temperature, Humidity, Pressure and Gas Sensor. I am using the example sketch and I get a lot of error messages, all of the following kind and similar:



****************************************************************************************************************

In file included from /home/alex/sketchbook/libraries/Seeed_BME680/bme680.h:63:0,

from /home/alex/sketchbook/libraries/Seeed_BME680/bme680.cpp:50:

/home/alex/sketchbook/libraries/Seeed_BME680/bme680_defs.h:84:32: error: ‘U32_C’ was not declared in this scope

#define UINT32_C(x) U32_C(x)

^

/home/alex/sketchbook/libraries/Seeed_BME680/bme680.cpp:55:31: note: in expansion of macro ‘UINT32_C’

uint32_t lookupTable1[16] = { UINT32_C(2147483647), UINT32_C(2147483647), UINT32_C(2147483647), UINT32_C(2147483647),

****************************************************************************************************************



Does anybody have an idea how I could fix this issue?

Hi there,



I tried in XUbuntu18.04. When I used Arduino IDE downloaded via apt, I have the same problem as you, but when I used Arduino IDE downloaded from arduino.cc, the problem disappears.







Best Regards,

Blu