I have the following output when I execute make sitl -j4
I have followed the installation steps as in
http://ardupilot.org/dev/docs/sitl-native-on-windows.html
hp@LAPTOP-59TH2EJC /cygdrive/c/Users/hp/ardupilot/ArduCopter
$ make sitl -j4
Checking modules
echo “Generating MAVLink headers…“
Generating MAVLink headers…
Generating UAVCAN headers…
PYTHONPATH=/cygdrive/c/Users/hp/ardupilot/modules/uavcan/libuavcan/ python /cygd rive/c/Users/hp/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdlc “/cygdrive/c/Users/hp/ardupilot/modules/uavcan/dsdl/uavcan” -O”/cygdrive/c/User s/hp/ardupilot/modules/uavcan/libuavcan/include/dsdlc_generated/”
goto mavlink module directory and run the most recent generator script
echo “Generating C code using mavgen.py located at” /cygdrive/c/Users/hp/ardupil ot/modules/mavlink/
Generating C code using mavgen.py located at /cygdrive/c/Users/hp/ardupilot/modu les/mavlink/
PYTHONPATH=/cygdrive/c/Users/hp/ardupilot/modules/mavlink/ python /cygdrive/c/Us ers/hp/ardupilot/modules/mavlink//pymavlink/tools/mavgen.py --lang=C --wire-prot ocol=2.0 --output=/tmp/ArduCopter.build/libraries/GCS_MAVLink/include/mavlink/v2 .0 /cygdrive/c/Users/hp/ardupilot/modules/mavlink/message_definitions/v1.0/ardup ilotmega.xml; if [ $? -le 0 -o $? -gt 128 ]; then echo “mavgen: success”; exit 0 ; else echo “mavgen: failed”; exit 1; fi
Traceback (most recent call last):
File “/cygdrive/c/Users/hp/ardupilot/modules/mavlink//pymavlink/tools/mavgen.p y”, line 16, in
from pymavlink.generator import mavgen
File “/cygdrive/c/Users/hp/ardupilot/modules/mavlink/pymavlink/generator/mavge n.py”, line 12, in
from future import standard_library
ImportError: No module named future
mavgen: failed
make: *** [C:/Users/hp/ardupilot/mk/mavgen.mk:12: /tmp/ArduCopter.build/librarie s/GCS_MAVLink/include/mavlink/v2.0/ardupilotmega/mavlink.h] Error 1
make: *** Waiting for unfinished jobs…
// BUILDROOT=/tmp/ArduCopter.build HAL_BOARD=HAL_BOARD_SITL HAL_BOARD_SUBTYPE=HA L_BOARD_SUBTYPE_NONE TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION=“42add82e” -I/cyg drive/c/Users/hp/ardupilot/libraries/AP_Common/missing -DMAVLINK_PROTOCOL_VERSIO N=2 -DHAVE_CMATH_ISFINITE -DNEED_CMATH_ISFINITE_STD_NAMESPACE -DHAVE_ENDIAN_H -D HAVE_BYTESWAP_H -DUAVCAN_CPP_VERSION=UAVCAN_CPP03 -DUAVCAN_NO_ASSERTIONS -DUAVCA N_NULLPTR=nullptr -I/cygdrive/c/Users/hp/ardupilot/modules/uavcan/libuavcan/incl ude -I/cygdrive/c/Users/hp/ardupilot/modules/uavcan/libuavcan/include/dsdlc_gene rated
Please tell me what is wrong. All above steps has been successfully executed.