我正在尝试在我的 Windows 10 机器上为 VS-2017 安装 C 和 C++ 库,并遇到以下 vcpkg- 错误。这是我第一次在我的机器上安装它。顺便说一下,我使用的是 Windows Powershell。我搜索了很多在线论坛,但无法弄清楚我的机器或软件包安装有什么问题。请建议我如何处理这个问题
PS C:\Documents\DRAGONFLY\vkpackage\vcpkg-master\vcpkg-master> bootstrap-vcpkg.bat
bootstrap-vcpkg.bat : The term 'bootstrap-vcpkg.bat' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1
+ bootstrap-vcpkg.bat
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : **ObjectNotFound: (bootstrap-vcpkg.bat:String)** [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
正如评论部分已经提到的,请一个接一个地遵循文档:Windows 设备的 C 模块指令命令。
git clone https://github.com/Microsoft/vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg install azure-iot-sdk-c:x64-windows
.\vcpkg --triplet x64-windows integrate install
如果有帮助,请将回复标记为已回答,以便对其他社区成员有所帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句