-
Download two files from the
official website
-
Setting environment variables Set the environment variables
to the location of the downloaded FastBuild-Windows-x64-v1.00, as follows:
open cmd, enter the commandFBuild.exe
, and return to the following figure to represent the environment setup成功!
-
The
steps to compile the source code of FastBuild are as follows:
Unfortunately, there are some problems:
-
问题1. Unable to auto-detect VS2019 - please specify installation manually .
D:\FastBuild\fastbuild-src-v1.03\External\SDK\VisualStudio\VS2019.bff(40,39): FASTBuild Error #1009 - Unknown variable ‘.Set_Path_Here’.
.VS2019_BasePath = .Set_Path_Here // <-- Set path here
提示说的很清楚,哪个文件哪里出了什么问题:
file:D:\FastBuild\fastbuild-src-v1.03\External\SDK\VisualStudio\VS2019.bff(40,39)
problem: Unknown variable'.Set_Path_Here'
Then we open this file and find that the location of VS2019 is wrong. When opening it, we find that it is placed in the C drive, which is inconsistent with the actual location of my current VS2019 (I installed it in the E drive). Then let's change it, find the file in my E disk and press the required c1.exe, and change all three lines. The figure below is modified.
-
Question 2. Error: opening file'D:\fastbuild-src-v1.03\External\SDK\Windows\10\Bin\10.0.17763.0\x64\RC.exe' in Compiler ToolManifest
This is mainly because opening RC.exe failed , We only need to find the path of the file, and then replace the path with the previous path.
The following means that the source code of FastBuild has been successfully compiled: