SITL on Windows error

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 ?

did you download the directory using git? and update all the sub modules?

how can i download it ?

http://ardupilot.org/dev/docs/git-install.html

Continuing the discussion from SITL on Windows error:

i have download it but its not working


help please !!

did you get all the packages listed here?
http://ardupilot.org/dev/docs/building-setup-windows-cygwin.html

edit: The error is to do with git tho, maybe try a new directory and retry the clone and download. You have to download it using git. Downloading the directory as a zip will not work.

its still not working

What git version are you using ?

how can i find the version ?

run on a command line:
git --version

git version 2.17.0
whats the problem

what is the result of:
cd ardupilot
git submodule update --init --recursive

no result

Are you sure you cloned the repository?


yes

Hi I have met the problem too,do you solve the problem,I am trying to git clone a new code to test.