Hi,
I’m experiencing build errors when trying to build OSPi 2.1.7 on CentOS 7:
[root@opensprinkler OpenSprinklerGen2]# ./build.sh ospi
Building OpenSprinkler...
main.cpp: In function ‘void push_message(byte, uint32_t, float, const char*)’:
main.cpp:983:58: error: ‘dtostrf’ was not declared in this scope
dtostrf(flow_last_gpm,5,2,postval+strlen(postval));
^
main.cpp: In function ‘void write_log(byte, ulong)’:
main.cpp:1228:60: error: ‘dtostrf’ was not declared in this scope
dtostrf(flow_last_gpm,5,2,tmp_buffer+strlen(tmp_buffer));
^
Done!
Building 2.1.6 went without issues:
[root@opensprinkler OpenSprinkler-Firmware-216]# ./build.sh ospi
Building OpenSprinkler...
Done!