visual-studio-code - vcpkg 在 VS 代码中安装
问题描述
我是一名正在学习 C++ 的 Python 开发人员。我有个问题:
我想安装一个外部库libxlsxwriter
。在 VS Code 终端中,我执行以下操作:
a) 我创建并清空文件夹 C:\dev。我在那里安装 vcpkg 使用:
`cd C:\dev`
`git clone https://github.com/Microsoft/vcpkg.git`
`.\vcpkg\bootstrap-vcpkg.bat`
b)现在当我尝试下载库时,我收到了这条消息:
`.\vcpkg install libxlsxwriter:x64-windows`
Computing installation plan...
The following packages will be built and installed:
libxlsxwriter[core]:x64-windows -> 0.9.4
zlib[core]:x64-windows -> 1.2.11#10
Additional packages (*) will be modified to complete this operation.
**No suitable Visual Studio instances were found**
你能解释一下,问题出在哪里吗?我的 VS Code 设置有问题吗?非常感谢。
解决方案
推荐阅读
- apache - 我应该如何配置“.htaccess”来重定向它?
- go - go-gorm db.Model 和 db.Table 查询的区别
- firebase - 从 Firestore 获取数据时出错:查询无效
- amazon-web-services - AWS Xray DaemonSet Pod 错误:无法启动容器“xray-daemon”:来自守护程序的错误响应:OCI
- java - 尝试使用 JDBC 连接到 IBM 的 Informix docker 版本
- javascript - 将用户定向到 ASP.Net MVC 应用程序中的另一个页面会导致自动生成的代码出现语法错误
- react-spring - 反应弹簧循环不会延迟运行
- gdb - 无法在 UserLAnd 上使用 gdb 进行调试
- just-audio - 如何在just_audio中使用来自firestore的多个音频数据动态填充AudioSource?
- angularjs - angularjs 模块不可用,即使我有它