Sim_vehicle.py fails to build

Whenever I try to build the sim vehicle the following happens

Stuart@Stuart-PC ~/ardupilot/ArduCopter
$ sim_vehicle.py -j4 --map
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: “/home/Stuart/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Setting top to : /home/Stuart/ardupilot
Setting out to : /home/Stuart/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 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 program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.10
Source is git repository : yes
Update submodules : yes
Checking for program ‘git’ : /usr/bin/git
Checking for program ‘size’ : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
’configure’ finished successfully (3.075s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/home/Stuart/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arducopter-quad” “-j” "4"
Waf: Entering directory /home/Stuart/ardupilot/build/sitl' add_group: name %s already present SIM_VEHICLE: Build failed; cleaning and rebuilding SIM_VEHICLE: Building clean SIM_VEHICLE: "/home/Stuart/ardupilot/modules/waf/waf-light" "clean" add_group: name %s already present SIM_VEHICLE: Building SIM_VEHICLE: "/home/Stuart/ardupilot/modules/waf/waf-light" "build" "--target" "bin/arducopter-quad" "-j" "4" Waf: Entering directory/home/Stuart/ardupilot/build/sitl’
add_group: name %s already present
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks

have tried re doing all the procedures but it keeps happening.
Running on windows 10…any ideas
the comment add_group: name %s already present is in red suggesting that is a problem.

thanks

Hello, You can try with the next command:

sim_vehicle.py -j4 -L KSFO, where KSFO is the San Franscisco Airport.

I will wait that you can solve this problem,

Best regards

[Rohit:~/tools/ardupilot/ArduCopter]$ sim_vehicle.py -j4 -L KSFO
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at 37.619373,-122.376637,5.3,118 (KSFO)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/home/Rohit/tools/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Setting top to : /home/Rohit/tools/ardupilot
Setting out to : /home/Rohit/tools/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 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 program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.12
Source is git repository : yes
Update submodules : yes
Checking for program ‘git’ : /usr/bin/git
Checking for program ‘size’ : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
’configure’ finished successfully (1m26.781s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/home/Rohit/tools/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arducopter” “-j” "4"
Waf: Entering directory `/home/Rohit/tools/ardupilot/build/sitl’
add_group: name %s already present
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
I still got the same error. could you please help