Build instructions: CMake < 4.0 and spectre-mitigation

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

  • #7538 来自 @copilot-swe-agent —— 已关闭,未合并

评估

这个 Issue 还没有评估数据。

描述

area-Infrastructure green untriaged

System Information (please complete the following information):

  • OS & Version: Windows 11, VS2022
  • ML.NET Version: main from github 17th May 2025

Describe the bug
To compile the project on Windows:
CMake 4.0.2 return error "path not found"
Spectre-mitigated libraries are needed in VS2022

To Reproduce
Steps to reproduce the behavior:

  1. Clean machine
  2. Install VS2022 and follow instructions on developer page
  3. Install latest CMake
  4. Observe errors trying to build Native libraries

Additional context
Minor update needed https://github.com/dotnet/machinelearning/blob/main/docs/building/windows-instructions.md on Individual Components needed and probably a notice on using CMake <4.0.0

主要语言
C#
星标
9.4k
派生
2k
平均合并
2 天 18 小时
30 天内合并 PR
64

环境准备

从这里开始

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

dotnet/machinelearning 的其他 Issue

查看 dotnet/machinelearning 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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