What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
cg:books:3d_engine_dev:chpt_2 [2024/11/30 14:06] – [Windows Setup] codingharecg:books:3d_engine_dev:chpt_2 [2024/11/30 15:02] (当前版本) – [安装 Conan] codinghare
行 21: 行 21:
   * Visual C++ Compiler (Microsoft Visual C++ Redistributable for Visual Studio 2022)   * Visual C++ Compiler (Microsoft Visual C++ Redistributable for Visual Studio 2022)
   * https://code.visualstudio.com/docs/cpp/config-msvc   * https://code.visualstudio.com/docs/cpp/config-msvc
 +    * 需要运行 Developer Command Prompt(DCP)
 +    * 在 DCP 中定位到项目目录,使用 ''code .'' 命令。该命令会从当前目录打开 VScode,并使用 MSVC 作为 VScode 的编译环境。
 +===安装 CMake===
 +  * https://cmake.org/files/v3.27/
 +  * 确保 ''Add CMake to the system PATH for all users'' enable
 +  * 检查版本 ''cmake -- version''
 +===安装 Conan===
 +  - 安装 Python 3.11.4 https://www.python.org/downloads/release/python-3114/
 +  - 安装 conan
 +<code python>
 +# 安装
 +pip install conan==1.61.0
 +# 检查
 +conan -v
 +</code>
 +<WRAP center round info 100%>
 +  * 1.61.0 版本 conan 与 3.12 以上 python 版本冲突。
 +  * 确保 python 的 script 目录添加到了 Path (user) 中
 +</WRAP>
 +
 +