FastBuild compilation environment

  1. Download two files from the
    official website
    Insert picture description here

  2. Setting environment variables Set the environment variables
    to the location of the downloaded FastBuild-Windows-x64-v1.00, as follows:
    Insert picture description hereopen cmd, enter the command FBuild.exe, and return to the following figure to represent the environment setup成功!
    Insert picture description here

  3. The
    steps to compile the source code of FastBuild are as follows:
    Insert picture description here
    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.
    Insert picture description here

  • 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
    Insert picture description here
    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.
    Insert picture description here

The following means that the source code of FastBuild has been successfully compiled:
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_41363459/article/details/111243097