Closed patvdleer closed 2 years ago
I commented it out and simply returned 1 to see if it would compile;
.pio/build/esp-wrover-kit/lib521/libThingsML.a(senml_float_record.cpp.o): In function `base64_dec_len(char*, int)':
/home/patrick/Documents/PlatformIO/Projects/car_tracker/.pio/libdeps/esp-wrover-kit/ThingsML/src/senml/record/../../util/base64.h:9: multiple definition of `base64_dec_len(char*, int)'
.pio/build/esp-wrover-kit/src/main.cpp.o:/home/patrick/Documents/PlatformIO/Projects/car_tracker/.pio/libdeps/esp-wrover-kit/ThingsML/src/senml/../util/base64.h:9: first defined here
for some reason the compiler doesn't seem to resolve the paths; see src/record/../../util/base64.h
and src/senml/../util/base64.h
@josephverburg please read the commit message and keep in mind I'm not native in C
There was a custom base64 implementation for ESP32 that did not work with al versions of the ESP32 Arduino Library, this has been removed and now the built in base64 will be used.
.pio/libdeps/esp-wrover-kit/ThingsML/src/senml/senml_helpers.cpp:107:22: error: 'base64' has not been declared
name followed by '::' must be a class or namespace nameC/C++(276)