> For the complete documentation index, see [llms.txt](https://hebohang.gitbook.io/hengine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hebohang.gitbook.io/hengine/yin-qing-bian-yi.md).

# 引擎编译

## 所需依赖

* Visual Studio 2022（推荐2022版本，因为引擎使用C++20规格），同时安装好单个组件“使用C++的桌面开发”，这是为了ATL库。
* CMake 3.20 版本及以上
* Python3（确保环境变量有，可以被 CMake 找到，这部分在 glslang、SPIRV-Tools 等第三方库的构建中是必要的）

## 编译流程

**1. 克隆仓库** `git clone git@github.com:hebohang/HEngine.git`

**2. 直接运行脚本 Win-GenProjects.bat**

运行结束应该会在 Engine/Binaries/Win64 中生成 HEngineEditor.exe，此时双击运行即可。

## 开发环境

如果想建设 HE，我的开发环境是Visual Studio 2022: 不选择打开工程，选择打开文件夹，然后选择项目的文件夹（HEngine文件夹），开始构建。此时不必再运行上一步的bat文件，直接用vs2022编译即可。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hebohang.gitbook.io/hengine/yin-qing-bian-yi.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
