Ok, so this is not really an issue with your code (worked like a charm after I figured out the problem).
It's more a help for other people having the same issue.
Under Windows 10 I've got a lot of issues while compiling the code. No problems with Ubuntu though.
Most of the Problems had to do something with the Time.h/time.h library like
error: 'strcpy_P' was not declared in this scopeerror: 'strftime' was not declared in this scope
Ok, so this is not really an issue with your code (worked like a charm after I figured out the problem). It's more a help for other people having the same issue.
Under Windows 10 I've got a lot of issues while compiling the code. No problems with Ubuntu though. Most of the Problems had to do something with the Time.h/time.h library like
error: 'strcpy_P' was not declared in this scope
error: 'strftime' was not declared in this scope
I found the solution here: Example doesn't compile because Time.h
Apparently, Windows is sometimes not case sensitive and mixes up different time.h/Time.h libraries. To fix these compiling errors:
WebHandlerImpl.h
in your Windows. Replace#include <time.h>
with#include <_time.h>
libc_replacements.c
which you've got to replaceIssues was already mentioned once here: #34
Hope this will help someone in the future