ubuntu@ubuntu:~/ardupilot$ ./waf configure --board CubeBlack
Setting top to : /home/ubuntu/ardupilot
Setting out to : /home/ubuntu/ardupilot/build
Autoconfiguration : enabled
Setting board to : CubeBlack
Using toolchain : arm-none-eabi
Checking for ‘g++’ (C++ compiler) : not found
Checking for ‘clang++’ (C++ compiler) : Command [’/usr/lib/ccache/arm-none-eabi-gcc’, ‘–print-sysroot’] returned 1
Hello Peter
Thank you for responding to my post. Yes, I have run the script. Interestingly, I can run ‘./waf configure --board aero’. I cannot run anything that require ‘arm-non-eabi’. Any thoughts?
Regards
Rokon
Peter, I followed the steps, but no luck. I attaching the paths:
ubuntu@ubuntu:~/ardupilot$ ./waf configure --board CubeBlack
Setting top to : /home/ubuntu/ardupilot
Setting out to : /home/ubuntu/ardupilot/build
Autoconfiguration : enabled
Setting board to : CubeBlack
Using toolchain : arm-none-eabi
Checking for ‘g++’ (C++ compiler) : not found
Checking for ‘clang++’ (C++ compiler) : Command [’/usr/lib/ccache/arm-none-eabi-gcc’, ‘–print-sysroot’] returned 1
I also get the same problem in ubuntu 1804 on jetson xavier nx.
ubuntu@AIROS-NX:~/tools/ardupilot$ ./waf configure --board pixhawk1
Setting top to : /home/ubuntu/tools/ardupilot
Setting out to : /home/ubuntu/tools/ardupilot/build
Autoconfiguration : enabled
Setting board to : Pixhawk1
Using toolchain : arm-none-eabi
Checking for 'g++' (C++ compiler) : not found
Checking for 'clang++' (C++ compiler) : Command ['/usr/lib/ccache/arm-none-eabi-gcc', '--print-sysroot'] returned 1
ubuntu@AIROS-NX:~/tools/ardupilot$ ./waf configure --board pixhawk1
Setting top to : /home/ubuntu/tools/ardupilot
Setting out to : /home/ubuntu/tools/ardupilot/build
Autoconfiguration : enabled
Setting board to : Pixhawk1
Using toolchain : arm-none-eabi
Checking for 'g++' (C++ compiler) : /usr/lib/ccache/arm-none-eabi-g++
Checking for 'gcc' (C compiler) : /usr/lib/ccache/arm-none-eabi-gcc
Checking for c flags '-MMD' : yes
Checking for cxx flags '-MMD' : yes
CXX Compiler : g++ 10.2.1
Checking for program 'make' : /usr/bin/make
Checking for program 'arm-none-eabi-objcopy' : /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-no ne-eabi-objcopy
Including /home/ubuntu/tools/ardupilot/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat
Setup for MCU STM32F427xx
Writing hwdef setup in /home/ubuntu/tools/ardupilot/build/Pixhawk1/hwdef.h
Writing DMA map
Generating ldscript.ld
No default parameter file found
Checking for env.py
env set HAL_NUM_CAN_IFACES=2
env set BOARD_FLASH_SIZE=2048
env set PROCESS_STACK=0x1C00
env set APJ_BOARD_TYPE=STM32F427xx
env set PERIPH_FW=0
env set USBID=0x1209/0x5741
env set MAIN_STACK=0x600
env set APJ_BOARD_ID=9
env set CORTEX=cortex-m4
env set FLASH_TOTAL=2080768
env set FLASH_RESERVE_START_KB=16
env set CHIBIOS_BUILD_FLAGS=USE_FATFS=yes MCU=cortex-m4 ENV_UDEFS=-DCHPRINTF_USE_FLOAT=1 CHIBIOS_ PLATFORM_MK=os/hal/ports/STM32/STM32F4xx/platform.mk CHIBIOS_STARTUP_MK=os/common/startup/ARMCMx/ compilers/GCC/mk/startup_stm32f4xx.mk
env set CPU_FLAGS=['-mcpu=cortex-m4', '-mfpu=fpv4-sp-d16', '-mfloat-abi=hard', '-DARM_MATH_CM4', '-u_printf_float']
env set IOMCU_FW=0
env set WITH_FATFS=1
Enabling ChibiOS asserts : no
Enabling malloc guard : no
Enabling ChibiOS thread statistics : no
Enabling -Werror : no
Checking for intelhex module: : OK
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 : not found
Checking for header byteswap.h : not found
Checking for HAVE_MEMRCHR : no
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.17
Checking for program 'python' : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.17
Source is git repository : yes
Update submodules : yes
Checking for program 'git' : /usr/bin/git
Gtest : STM32 boards currently don't support compiling g test
Checking for program 'arm-none-eabi-size' : /usr/lib/ccache/arm-none-eabi-size
Benchmarks : disabled
Unit tests : disabled
Scripting : enabled
Scripting runtime checks : enabled
Debug build : disabled
Checking for program 'rsync' : /usr/bin/rsync
'configure' finished successfully (3.090s)