When i run $ sim_vehicle.py -v ArduCopter --map --console
i get this error
$ sim_vehicle.py -v ArduCopter --map --console
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/cygdrive/c/cygwin64/home/ardupilot/modules/waf/waf-light” “configure” “–board” “sitl”
Setting top to : /cygdrive/c/cygwin64/home/ardupilot
Setting out to : /cygdrive/c/cygwin64/home/ardupilot/build
Autoconfiguration : enabled
Setting board to : sitl
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++
Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for c flags ‘-MMD’ : yes
Checking for cxx flags ‘-MMD’ : yes
Checking for need to link with librt : not necessary
Checking for HAVE_CMATH_ISFINITE : yes
Checking for HAVE_CMATH_ISINF : yes
Checking for HAVE_CMATH_ISNAN : yes
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : yes
Checking for header endian.h : yes
Checking for header byteswap.h : yes
Checking for HAVE_MEMRCHR : no
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.14
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.14
Source is git repository : no
Update submodules : no
Checking for program ‘git’ : /usr/bin/git
Checking for program ‘size’ : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
Scripting : disabled
Scripting runtime checks : enabled
Checking for program ‘rsync’ : /usr/bin/rsync
‘configure’ finished successfully (7.453s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/cygdrive/c/cygwin64/home/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arducopter”
Waf: Entering directory `/cygdrive/c/cygwin64/home/ardupilot/build/sitl’
Command [’/usr/bin/git’, ‘rev-parse’, ‘–short=8’, ‘HEAD’] returned 128
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
can anyone help me ?