Error in build fmuv5 on Windows using Cygwin or on Windows10 using WSL

Hi;
I want to build arducopter for CUAVv5 (fmuv5). I using Cygwin and WSL on windows 10. clone ardupilot and update submodule is correct and configure board is ok but when use ./waf copter to build an error occur like:

mmselect@E2-INTERNET:~/ardupilot$ ./waf copter
Waf: Entering directory /home/mmselect/ardupilot/build/fmuv5' Embedding file io_firmware.bin:Tools/IO_Firmware/fmuv2_IO.bin Embedding file bootloader.bin:/home/mmselect/ardupilot/Tools/bootloaders/fmuv5_bl.bin Checking for env.py env added MAIN_STACK=0x400 env added HAL_WITH_UAVCAN=1 env added FLASH_RESERVE_START_KB=32 env added CHIBIOS_BUILD_FLAGS=USE_FATFS=yes MCU=cortex-m4 ENV_UDEFS=-DCHPRINTF_USE_FLOAT=1 CHIBIOS_PLATFORM_MK=os/hal/ports/STM32/STM32F7xx/platform.mk CHIBIOS_STARTUP_MK=os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f7xx.mk env appended CPU_FLAGS=['-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16', '-mfloat-abi=hard', '-u_printf_float'] env added IOMCU_FW=0 env added PROCESS_STACK=0x2000 [6/8] Running uavcangen Waf: Leaving directory /home/mmselect/ardupilot/build/fmuv5’
Build failed
Traceback (most recent call last):
File “/home/mmselect/ardupilot/modules/waf/waflib/Task.py”, line 338, in process
ret = self.run()
File “Tools/ardupilotwaf/uavcangen.py”, line 24, in run
input_dir = os.path.dirname(self.inputs[0].abspath())
IndexError: list index out of range

what is problem?
thanks for attention…

1 Like

You’ll need to head over to discuss.ardupilot.org for help with ArduPilot.