Hello,
I’m trying to build some sourcecode but I’m get this error:
"LibraryManager: Installing id=44 @ ^5.10
Error: Could not find a version that satisfies the requirement ‘^5.10’ for your system ‘windows_amd64’
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it."
I just tryed to do a “pio Update” but the error still exist.
I’ get allwos the same error:
“LibraryManager: Installing id=44 @ ^5.10
Error: Could not find a version that satisfies the requirement ‘^5.10’ for your system ‘windows_amd64’
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.”
In the file .piolibdeps I sey the 2 librarys: NtpclientLib, Time_ID44
You can solve the problem locally by downloading the NtpClient library into your lib/ folder and changing the library.json file to what’s seen in the pull request.
Wow, thank you four your answer.
Now, I dowloaded the NtpClient and unzipped the folder into my lib folder for the project.
Than a openend the library.json file and delete all and add this text:
Hello maxgerhardt,
thank you for the help.
Sorry, but unfortunately It doesn’t work:
> ^
> src\main.cpp:40:26: fatal error: NtpClientLib.h: No such file or directory
>
> **********************************************************************
> * Looking for NtpClientLib.h dependency? Check our library registry!
> *
> * CLI > platformio lib search “header:NtpClientLib.h”
> * Web > PlatformIO Registry
> *
> **********************************************************************
>
> #include <NtpClientLib.h>
> ^
> compilation terminated.
> *** [.pioenvs\nodemcuv2\src\main.cpp.o] Error 1
> ============================================================================ [ERROR] Took 4.92 seconds ============================================================================
> The terminal process terminated with exit code: 1
>
> Terminal will be reused by tasks, press any key to close it.
I made the changes referenced in that pull request above to NtpClient’s libraries.json in a downloaded copy of the library in \lib, removed the entry for it from my platformio.ini as I didn’t want platformio to automatically manage and use a downloaded copy any more, created the WifiConfig.h file referenced to put wifi credentials in, and added ESPAsyncUDP the lib_deps list as it is needed. So my lib_deps looks like this now … lib_deps = Time, ESPAsyncUDP and the NtpClient/NTPClientESP8266.ino at develop · gmag11/NtpClient · GitHub code compiled just fine.