Adafruit BMP085 Library not compiling in WEB IDE on Lib 2.0

A program that was working perfectly a couple of weeks ago, can no longer compile on the WEB IDE. It look like the problems relate to the Adafruit BMP085 library for the temperature / barometer sensor.

it comes up with multiple errors that are similar to this

lib/Adafruit_BMP085/src/Adafruit_BMP085.h:60:17: error: 'uint8_t' has not been declared
boolean begin(uint8_t mode = BMP085_ULTRAHIGHRES); // by default go highres
^

lib/Adafruit_BMP085/src/Adafruit_BMP085.h:62:3: error: 'int32_t' does not name a type
int32_t readPressure(void);

I have done the following to resolve the problem:

  1. I removed the library from the program and added it back.
  2. I cleared the cash, logged out, and restarted the web IDE.

I have changed absolutely nothing from my previous compile, so I cannot understand why this is happening.

Is it me or does it have something to do with the library upgrade?

I look forward to hearing your thoughts.

^

@Grenello, the Adafruit_BMP085 library has not been ported to V2.0 by the author and I suspect this is the root of the problem. It has not been touched since it was first published in 2014. I’ll raise an issue on the Author’s repo.

Hey folks! We’re looking into this internally and are going to see if we can find a way to unblock you on this one.

1 Like

Thanks for the rapid response. I will keep an eye out for updates.

Hey @Grenello@peekay123 volunteered to take over ownership, so we should have an updated version of that library for ya soon.

1 Like

@Grenello, @will, I just republished the Adafruit_BMP085 library to the IDE using Adafruit’s latest version. Let me know if you have any problems :smile:

1 Like

Thanks gents. It worked like a charm. Project back on track.

1 Like

Can you do the same for Spark-dallas-temperature library? It does not seem to work either.

Forking into a new topic since it isn’t relevant to the BMP085 sensor library.