I really love this tool. However, I am having trouble compiling for my ESP 32:
`INFO Reading configuration /config/esphome/heaternode.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing heaternode (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.3.2)
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
Dependency Graph
|-- 1.2.2
|-- 1.0.2
|-- 1.0
|-- 1.0
|-- 1.0
|-- 2.1.0
| |-- 1.2.2
|-- 1.1.0
|-- 1.0
Compiling /data/heaternode/.pioenvs/heaternode/src/main.cpp.o
In file included from /data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPTypes.hpp:32:0,
from src/optolink/Datapoint.hpp:35,
from src/optolink/VitoWiFi.hpp:37,
from src/optolink/VitoWiFi.h:30,
from src/optolink/optolink.h:33,
from src/main.cpp:38:
/data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPValue.hpp:35:6: error: multiple definition of 'enum DPValueType'
enum DPValueType {
^
In file included from src/main.cpp:37:0:
src/optolink/DPValue.hpp:35:6: note: previous definition here
enum DPValueType {
^
In file included from /data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPTypes.hpp:32:0,
from src/optolink/Datapoint.hpp:35,
from src/optolink/VitoWiFi.hpp:37,
from src/optolink/VitoWiFi.h:30,
from src/optolink/optolink.h:33,
from src/main.cpp:38:
/data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPValue.hpp:45:7: error: redefinition of 'class DPValue'
class DPValue {
^
In file included from src/main.cpp:37:0:
src/optolink/DPValue.hpp:45:7: error: previous definition of 'class DPValue'
class DPValue {
^
*** [/data/heaternode/.pioenvs/heaternode/src/main.cpp.o] Error 1
========================== [FAILED] Took 6.31 seconds ==========================`
I was able to fix it. Had some older version. Worked when I got all files from one source. At least it compiled. No values yet but I am working on that.
Hi!
I really love this tool. However, I am having trouble compiling for my ESP 32:
`INFO Reading configuration /config/esphome/heaternode.yaml... INFO Generating C++ source... INFO Compiling app... Processing heaternode (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.3.2)
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash Dependency Graph |-- 1.2.2
|-- 1.0.2
|-- 1.0
|-- 1.0
|-- 1.0
|-- 2.1.0
| |-- 1.2.2
|-- 1.1.0
|-- 1.0
Compiling /data/heaternode/.pioenvs/heaternode/src/main.cpp.o
In file included from /data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPTypes.hpp:32:0,
from src/optolink/Datapoint.hpp:35,
from src/optolink/VitoWiFi.hpp:37,
from src/optolink/VitoWiFi.h:30,
from src/optolink/optolink.h:33,
from src/main.cpp:38:
/data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPValue.hpp:35:6: error: multiple definition of 'enum DPValueType'
enum DPValueType {
^
In file included from src/main.cpp:37:0:
src/optolink/DPValue.hpp:35:6: note: previous definition here
enum DPValueType {
^
In file included from /data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPTypes.hpp:32:0,
from src/optolink/Datapoint.hpp:35,
from src/optolink/VitoWiFi.hpp:37,
from src/optolink/VitoWiFi.h:30,
from src/optolink/optolink.h:33,
from src/main.cpp:38:
/data/heaternode/.piolibdeps/heaternode/VitoWiFi/src/DPValue.hpp:45:7: error: redefinition of 'class DPValue'
class DPValue {
^
In file included from src/main.cpp:37:0:
src/optolink/DPValue.hpp:45:7: error: previous definition of 'class DPValue'
class DPValue {
^
*** [/data/heaternode/.pioenvs/heaternode/src/main.cpp.o] Error 1
========================== [FAILED] Took 6.31 seconds ==========================`