Error when running ./all_tests on Linux
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cpp, linux
调研方向
首先使用所述的 StarCraft II 版本复现 ./all_tests -e,并将其启动环境与手动的 SC2_x64 命令进行比较。检查 all_tests 的启动路径以及 src/sc2api/sc2_coordinator.cc:94 报告的失败。测试运行器能够在 Linux 上启动 SC2 并成功连接即表示完成。
由索引模型根据 Issue 内容生成。
描述
The following error was encountered while testing ./all_tests on Linux.
The command I run is as follow (${my_StarCraftII_path} and ${my_s2client-api_path} denote the path of my StarCraftII and s2client-api, respectively):
./all_tests -e ${my_StarCraftII_path}/Versions/Base69232/SC2_x64
And the output of this command are as follows:
Running test: sc2::TestAbilityRemap
Launched SC2 (${my_StarCraftII_path}/Versions/Base69232/SC2_x64), PID: 145940
${my_StarCraftII_path}/Versions/Base69232/SC2_x64: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ${my_StarCraftII_path}/Versions/Base69232/SC2_x64)
Waiting for connection.....................................................................................
...................................
Unable to connect to game all_tests: ${my_s2client-api_path}/src/sc2api/sc2_coordinator.cc:94: bool sc2::AttachClients(sc2::ProcessSettings&, std::vector<sc2::Client*>): Assertion connected' failed.
Aborted
It's quite strange that I got "/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ${my_StarCraftII_path}/Versions/Base69232/SC2_x64)" when launching SC2, as I can start SC2 manually by following commands:
cd ${my_StarCraftII_path}/Versions/Base69232/
./SC2_x64 -listen 127.0.0.1 -port 37688
And the output of the commands are:
Version: B69232 (SC2.4.6-Publish)
Build: Oct 23 2018 01:43:04
Command Line: '"./SC2_x64" -listen 127.0.0.1 -port 37688'
Starting up...
Startup Phase 1 complete
Startup Phase 2 complete
Creating stub renderer...
Listening on: 127.0.0.1:37688
Startup Phase 3 complete. Ready for commands.
In my opinion, SC2 is started by this way in my Linux.
Besides, SC2 can also be started by other ways like python interface shown in pysc2 and smac. So I think my StarCraftII can work properly.
So, why won't StarCraft II start when I run ./all_tests?
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 281
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Blizzard/s2client-api 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
Blizzard/s2client-api#287 ·
-
难度 4/5 3-5 天 新手友好度 48/100
Blizzard/s2client-api#340 ·
-
Player' Color未关闭
难度 4/5 3-5 天 新手友好度 35/100
Blizzard/s2client-api#337 ·
-
Build fails未关闭
难度 3/5 1-2 天 新手友好度 35/100
Blizzard/s2client-api#335 · 5 条评论 ·
-
难度 4/5 3-5 天 新手友好度 20/100
Blizzard/s2client-api#334 ·
查看 Blizzard/s2client-api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 67/100
NKI-AI/fastslide#105 · 2 条评论 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
DarkCastleMUD/DarkCastle#283 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
-
-priority- blocked good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
scribe-org/Scribe-Android#761 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复