GDeflate documentation lacks instructions or references for nuget.exe prerequisite
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
调研方向
从 repository 现有的设置说明以及调用 nuget.exe 获取 Microsoft.Direct3D.DirectStorage 的 CMake 配置路径开始。记录 nuget.exe 这一前置条件以及 CMake 必须如何找到它,然后验证全新的 Visual Studio 2022 配置能够获取该软件包,且不会出现 NUGET_EXE-NOTFOUND 消息。
由索引模型根据 Issue 内容生成。
描述
After cloning the repository and following the instructions to open the GDeflate directory as a local folder in Visual Studio 2022, the initial CMake configuration fails with this message:
1> [CMake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
1> [CMake] -- Detecting CXX compile features
1> [CMake] -- Detecting CXX compile features - done
1> [CMake]
1> [CMake] Process failed because: The system cannot find the file specified
1> [CMake]
1> [CMake] for command: NUGET_EXE-NOTFOUND install -Source https://api.nuget.org/v3/index.json Microsoft.Direct3D.DirectStorage -Version 1.2.2 -ExcludeVersion -OutputDirectory D:/src2/DirectStorage/GDeflate/build/Windows/Debug/packages
1> [CMake] -- Configuring done
1> [CMake] -- Generating done
1> [CMake] -- Build files have been written to: D:/src2/DirectStorage/GDeflate/build/Windows/Debug
Per this page: https://www.nuget.org/downloads , while NuGet is bundled with Visual Studio, the nuget.exe CLI program is not, so this doesn't appear to be a problem of VS being misconfigured. (In my installation, both NuGet components are installed and working otherwise.)
If NuGet CLI isn't installed somewhere that CMake can find it, then the build will fail because it won't fetch the DirectStorage package and dstorage.h will be missing.
- 主要语言
- C++
- 星标
- 897
- 派生
- 111
- 平均合并
- 13 小时 58 分钟
- 30 天内合并 PR
- 12
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/DirectStorage 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
microsoft/DirectStorage#137 ·
-
难度 4/5 3-5 天 新手友好度 35/100
microsoft/DirectStorage#101 ·
-
can't compile? 未关闭
难度 4/5 3-5 天 新手友好度 20/100
microsoft/DirectStorage#58 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
microsoft/DirectStorage#56 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
microsoft/DirectStorage#52 · 7 条评论 ·
查看 microsoft/DirectStorage 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
google/libultrahdr#485 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
godotengine/godot#123776 ·
-
bug
难度 1/5 1 小时以内 新手友好度 60/100
-
good first issue
难度 1/5 1 小时以内 新手友好度 90/100
-
good first issue
难度 2/5 1-3 小时 新手友好度 75/100
ros2/common_interfaces#344 ·