gn args out\Debug_GN_x86 用來配置編譯參數,執行gn args out\Release_GN_x86時異常:
Toolchain is out of date. Run "gclient runhooks" to update the toolchain, or set DEPOT_TOOLS_WIN_TOOLCHAIN=0 to use the locally installed toolchain.
?
?
解決方案:
先執行set DEPOT_TOOLS_WIN_TOOLCHAIN=0,使用本地安裝的工具鏈
然后再執行gn args out\Release_GN_x86