tobiasschuerg / InfluxDB-Client-for-Arduino

Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3.11.0 - ESP32 undefined reference to `Point::Point(String const&)'

szerwi opened this issue · comments

Hi,

I get following error during compilation: undefined reference to `Point::Point(String const&)'

Here is how creating Point object looks in my code:

#define MEASUREMENT_NAME "ESP32"
...
Point dbData(MEASUREMENT_NAME);

Exactly the same code works fine on 3.10.0. I think there is some bug in 3.11.0 changes.

Specifications:

  • Library Version: 3.11.0
  • InfluxDB Version: -
  • Board/ESP chip: ESP32 Dev Module
  • Device Arduino SDK version: arduino-esp32 2.0.2

Such is code is used by everyone who uses this library.
Of course, this is successfully compiled under Arduino IDE. Even using PlatformIO with the latest official framework espressif32.
There must be a problem with your toolchain. Try clean build.

It works after clean build, thanks.
I haven't thought it may be a caching issue.