after i cloning the code to my local with WSL,and configuring the Build Enviroment.i execute “./waf copter”.it occurs some errors.
error info as follows:
[ 4/10] Creating build/CubeBlack/modules/ChibiOS/include_dirs
[ 7/10] Running uavcangen
usage: libuavcan_dsdlc [-h] [–verbose] [–outdir OUTDIR] [–incdir INCDIR]
source_dir [source_dir …]
libuavcan_dsdlc: error: the following arguments are required: source_dir
uavcangen returned 2 error code
/root/workspace/01_code/01_ardupilot/ardupilot/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk:109: …/.y
make: *** No rule to make target ‘…/…/modules/ChibiOS/os/various/fatfs_bindings/fatfs.mk’. Stop.
/root/workspace/01_code/01_ardupilot/ardupilot/libraries/AP_HAL_ChibiOS/hwdef/common/chibios_board.mk:109: …/.y
make: *** No rule to make target ‘…/…/modules/ChibiOS/os/various/fatfs_bindings/fatfs.mk’. Stop.
Waf: Leaving directory `/root/workspace/01_code/01_ardupilot/ardupilot/build/CubeBlack’
Build failed
→ task in ‘uavcan’ failed (exit status 2):
{task 140667792504640: uavcangen → }
(run with -v to display more information)
→ task in ‘/root/workspace/01_code/01_ardupilot/ardupilot/build/CubeBlack/modules/ChibiOS/include_dirs’ faile
{task 140667791797152: /root/workspace/01_code/01_ardupilot/ardupilot/build/CubeBlack/modules/ChibiOS/i
(run with -v to display more information)