Servers by jDrones

I cannot build ardupilot on cygwin

I’m trying build arduplane on cygwin but when i configure the code for CubeOrange i get the error.

$ ./waf configure
Setting top to : /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master
Setting out to : /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master/build
Autoconfiguration : enabled
Setting board to : sitl
Using toolchain : native
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
CXX Compiler : g++ 10.2.0
Checking for need to link with librt : not necessary
Checking for feenableexcept : no
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 : 3.6.10
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 3.6.10
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 : enabled
Scripting runtime checks : enabled
Checking for program ‘rsync’ : /usr/bin/rsync
‘configure’ finished successfully (6.504s)

rcpbe@DESKTOP-OON7EET /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master
$ ./waf configure --board CubeOrange
Setting top to : /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master
Setting out to : /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master/build
Autoconfiguration : enabled
Setting board to : CubeOrange
Using toolchain : arm-none-eabi
Could not find the program [‘arm-none-eabi-ar’]
(complete log in /cygdrive/c/Users/rcpbe/OneDrive/Masaüstü/lagari-uav-team-ardupilot-master/build/config.log)

I download gcc compiler but could not find the program. I can build default arduplane code but i cannot build our code. pls help me. thanks for your answer.

You’ve not installed the GCC ARM compiler. See https://ardupilot.org/dev/docs/building-setup-windows-cygwin.html#install-the-gcc-compiler

I’m sure i installed gcc. Does it matter where i install it ?

i restarted my pc and i got it. thanks for advice

Servers by jDrones