PlatformIO Community

Azure sdk for C 1.0.0-beta.4 cannot find package for your system 'windows_amd64'

Hello,
I can’t compile when using library manager to install the latest Azure SDK for C. The manager reports the library is successfully installed. Platformio has

lib_deps =
azure/Azure SDK for C@^1.0.0-beta.4

and I get Error: Could not find the package with ‘azure/Azure SDK for C @ ^1.0.0-beta.4’ requirements for your system ‘windows_amd64’
Works fine if I revert to azure/Azure SDK for C or manually install the library.

Ive checked platformio core, python and npm versions as suggested in another thread, all up to date.

I think the ^ operator doesn’t play nice with these -beta.x versions. Doing

pio lib -g install "azure/Azure SDK for C@1.0.0-beta.4"

works fine for me on the commandline,

pio lib -g install "azure/Azure SDK for C@^1.0.0-beta.4"

gives

Library Manager: Installing azure/Azure SDK for C @ ^1.0.0-beta.4
Error: Could not find the package with 'azure/Azure SDK for C @ ^1.0.0-beta.4' requirements for your system 'windows_amd64'
1 Like

Excellent, thank you @maxgerhardt. I’m very new at this. Does this justify an issue being raised?

Did the library manager auto-add the lib_deps dependency line with the ^ (that makes it not work) or did you do it yourself? In the first case, it’s a bug ( → Issues · platformio/platformio-vscode-ide · GitHub)

Yes, library manager added that line itself. Thank you, I will report.

1 Like