kpn-iot / thingsml-c-library

C library for ThingsML on your device
https://kpn-iot.github.io/thingsml-c-library/
MIT License
6 stars 4 forks source link

ThingsML does not compile #11

Closed hjnijlunsing closed 3 years ago

hjnijlunsing commented 3 years ago

Hi I am trying out the Marvin example from thingsML:

Steps:

Output: C:\Users\user\Documents\Arduino\libraries\ThingsML\src\senml\actuator\senml_binary_actuator.cpp:17:10: fatal error: cstring: No such file or directory

include

      ^~~~~~~~~
PaulKoning commented 3 years ago

Having similar problems with my ESP32 board using the arduinoesp32 framework in platformio. Many broken includes, inconsistent use of upper and lowercase (which linux really doesn't seem to like). conflicts between base64.h and the base64 implementation of the library.

josephverburg commented 3 years ago

The incorrect includes have been fixed in v1.2.1. Thanks for reporting the issue.

@PaulKoning can you colaborate on what is wrong outside from this issue? (preferably in a new issue)

hjnijlunsing commented 3 years ago

Thanks! I can confirm that the original issue is solved. I now receive warnings for which I will create a separate issue.