前两天挂了一块硬盘,本来数据是没丢的,但是为了快速清理空间,我随手把fuchsia删了,于是说重新下载编译。
按照之前的教程,输入fx set x64
会出现错误:
⋊> /s/w/p/f/fuchsia on 547e5edc54 ⨯ ./scripts/fx set x64 23:21:55
ERROR: Unable to parse PRODUCT.BOARD goal "x64"
ERROR: You must specify which product and which board you wish to build.
ERROR: Example:
ERROR: fx set core.x64
ERROR:
ERROR: Run "fx list-products" to see the available products.
ERROR: Run "fx list-boards" to see the available boards.
ERROR: Run "fx set --help" to see full usage.
⋊> /s/w/p/f/fuchsia on 547e5edc54 ⨯ 23:21:58
⋊> /s/w/p/f/fuchsia on 547e5edc54 ⨯ ./scripts/fx set core.x64 23:22:00
+ /storage/wine/project/fuchsia/fuchsia/zircon/prebuilt/downloads/gn gen /storage/wine/project/fuchsia/fuchsia/out/build-zircon --root=/storage/wine/project/fuchsia/fuchsia/zircon
Done. Made 12811 targets from 924 files in 5950ms
Done. Made 20355 targets from 1898 files in 90543ms
解决方法也说的很明白,直接换命令。
看一下貌似对于编译有了更为详细的设定
⋊> /s/w/p/f/fuchsia on 547e5edc54 ⨯ ./scripts/fx list-products 23:26:50
bringup
core
*
router
sdk_image
speaker
terminal
workstation
⋊> /s/w/p/f/fuchsia on 547e5edc54 ⨯ ./scripts/fx list-boards 23:27:01
arm64
cleo
eagle
*
hikey960
imx8mmevk
kirin970
msm8x53-som
mt8167s_ref
toulouse
vim2
x64