MSVC installation issues
已经有一个关联 PR 被合并了。
- #8 来自 @aminya —— 已合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp, github-actions, typescript
- 领域
- build-system, ci-cd, devops
调研方向
从 src/msvc/msvc.ts 开始,运行 VS2017 和 VS2019 的现有测试。调查报告中的 vcvars.bat 和 VsDevCmd.bat 错误,包括缺少 15.9 工具集的问题,并使用链接的运行输出进行调试。当受支持的 Visual Studio 版本的 MSVC 设置测试通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
This is now mostly fixed for VS2019 and VS2017. But still requires some more testing. The best way to fix it is to run the tests and debug the issues.
Old Description
Copied from https://github.com/jberezanski/ChocolateyPackages/issues/117
I am using visualstudio2017buildtools and visualstudio2019buildtools to set up MSVC. However, my tests fail because vcvars.bat cannot find the toolset.
https://github.com/aminya/setup-cpp
invalid parameters
[ERROR:vcvars.bat] Toolset directory for version '15.9' was not found.
[ERROR:VsDevCmd.bat] *** VsDevCmd.bat encountered errors. Environment may be incomplete and/or incorrect. ***
[ERROR:VsDevCmd.bat] In an uninitialized command prompt, please 'set VSCMD_DEBUG=[value]' and then re-run
[ERROR:VsDevCmd.bat] vsdevcmd.bat [args] for additional details.
[ERROR:VsDevCmd.bat] Where [value] is:
[ERROR:VsDevCmd.bat] 1 : basic debug logging
[ERROR:VsDevCmd.bat] 2 : detailed debug logging
[ERROR:VsDevCmd.bat] 3 : trace level logging. Redirection of output to a file when using this level is recommended.
[ERROR:VsDevCmd.bat] Example: set VSCMD_DEBUG=3
[ERROR:VsDevCmd.bat] vsdevcmd.bat > vsdevcmd.trace.txt 2>&1
https://github.com/aminya/setup-cpp/runs/3618796745?check_suite_focus=true#step:7:302
- 主要语言
- TypeScript
- 星标
- 277
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aminya/setup-cpp 的其他 Issue
-
enhancement more-information-needed
难度 2/5 1-3 小时 新手友好度 35/100
-
Brew LLVM OpenMP可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 5/5 一周以上 新手友好度 25/100
-
Add linker tools未关闭enhancement
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
egonSchiele/agency-lang#1377 ·
维护者通常 1 天内回复
-
normalizePath removes the Windows device namespace prefix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
caprover/caprover-frontend#273 ·
维护者通常 1 天内回复