Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

GDeflate documentation lacks instructions or references for nuget.exe prerequisite

未关闭
#39 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/DirectStorage 的其他 Issue

查看 microsoft/DirectStorage 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。