-
Notifications
You must be signed in to change notification settings - Fork 35
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
Errors trying to build projects using Platform IO #35
Comments
Have some problems too. Im newb and im not sure do i need to modify platformio.ini, i replaced DHT11 to DHT22 and trying to upload atmega ..
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following errors when trying to build projects using PlatformIo using dev s=version of github master causing cloning errors
ompiling .pioenvs\sonoffsc\lib9b4\Ethernet\EthernetClient.cpp.o
Compiling .pioenvs\sonoffsc\lib9b4\Ethernet\EthernetServer.cpp.o
.piolibdeps\ESP Async WebServer\src\WebHandlers.cpp: In member function 'AsyncStaticWebHandler& AsyncStaticWebHandler::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& AsyncStaticWebHandler::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& AsyncStaticWebHandler::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
^
Compiling .pioenvs\sonoffsc\lib9b4\Ethernet\EthernetUdp.cpp.o
Compiling .pioenvs\sonoffsc\lib9b4\Ethernet\utility\socket.cpp.o
Compiling .pioenvs\sonoffsc\lib9b4\Ethernet\utility\w5100.cpp.o
Archiving .pioenvs\sonoffsc\lib339\libSPI.a
*** [.pioenvs\sonoffsc\lib297\ESP Async WebServer\WebHandlers.cpp.o] Error 1
[ERROR] Took 6.47 seconds
[SUMMARY]
Environment ota [SKIP]
Environment sonoffsc [ERROR]
[ERROR] Took 6.47 seconds
The text was updated successfully, but these errors were encountered: