-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error in dev branch #445
Comments
Mmmm.... I'm using the new NTPClientLib in dev branch and it loads the original Time library which has an incompatibility with the ESPAsyncWebServer library on windows machines, only... It happened before (see issue #6). Will change it to use my Time library fork again. |
Latest version in dev should build using PlatformIO. |
Original comment by Marek Forkasiewicz (Bitbucket: fork04, GitHub: fork04): problem with platformio revision in : https://github.com/me-no-dev/ESPAsyncWebServer#313f337 error: unable to stat just-written file espressif8266_library.json: No such file or directory |
That looks like a PlatformIO problem. Try removing the library from the .piolibdeps folder and run pio again. |
Originally reported by: Marek Forkasiewicz (Bitbucket: fork04, GitHub: fork04)
Compiling .pioenvs\nodemcu-lolin\lib065\SPI\SPI.o
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp: In member function 'AsyncStaticWebHandler& AsyncStaticWebHandl
er::setLastModified(tm*)':
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp:67:64: error: 'strftime' was not declared in this scope
strftime (result,30,"%a, %d %b %Y %H:%M:%S %Z", last_modified);
^
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp: In member function 'AsyncStaticWebHandler& AsyncStaticWebHandl
er::setLastModified(time_t)':
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp:73:60: error: 'gmtime' was not declared in this scope
return setLastModified((struct tm *)gmtime(&last_modified));
^
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp: In member function 'AsyncStaticWebHandler& AsyncStaticWebHandl
er::setLastModified()':
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp:78:25: error: 'time' was not declared in this scope
if(time(&last_modified) == 0) //time is not yet set
^
*** [.pioenvs\nodemcu-lolin\lib154\ESP Async WebServer\WebHandlers.o] Error 1
[ERROR] Took 16.53 seconds
The text was updated successfully, but these errors were encountered: