Hello,
I am using a Wemos D1 that has a ESP8266 and DHT 22 sensor to log data.
I can not seem to get the code to build, here is some of the build
Thanks
In file included from C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger.h:29:0,
from C:\Users\Graham.platformio\lib\thinger.io_ID648\src/ThingerClient.h:27,
from C:\Users\Graham.platformio\lib\thinger.io_ID648\src/ThingerWifi.h:27,
from C:\Users\Graham.platformio\lib\thinger.io_ID648\src/ThingerESP8266.h:28,
from src\main.cpp:5:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:87:5: error: expected ‘;’ at end of member declaration
io_type io_type_;
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:87:13: error: ‘io_type_’ does not name a type
io_type io_type_;
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:157:5: error: ‘io_type’ does not name a type
io_type get_io_type(){
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp: In constructor ‘thinger::thinger_resource::thinger_resource()’:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:113:26: error: class ‘thinger::thinger_resource’ does not have any field named ‘io_type_’
thinger_resource() : io_type_(none), access_type_(PRIVATE), stream_id_(0), streaming_freq_(0), last_streaming_(0)
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp: In member function ‘void thinger::thinger_resource::fill_api(protoson::pson_object&)’:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:166:12: error: ‘io_type_’ was not declared in this scope
if(io_type_!=none){
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp: In member function ‘void thinger::thinger_resource::fill_api_io(protoson::pson_object&)’:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:181:12: error: ‘io_type_’ was not declared in this scope
if(io_type_ == pson_in){
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp: In member function ‘void thinger::thinger_resource::fill_output(protoson::pson&)’:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:191:12: error: ‘io_type_’ was not declared in this scope
if(io_type_ == pson_out){
^
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp: In member function ‘void thinger::thinger_resource::operator=(void (*)())’:
C:\Users\Graham.platformio\lib\thinger.io_ID648\src/thinger/thinger_resource.hpp:270:9: error: ‘io_type_’ was not declared in this scope
io_type_ = run;
^