I initially run the following command from the root directory ardupilot:
./waf configure --board aerofc-v1
Output:
Setting top to : /home/aerofc-build/ardupilot
Setting out to : /home/aerofc-build/ardupilot/build
Autoconfiguration : enabled
Setting board to : aerofc-v1
Checking for program ‘arm-none-eabi-ar’ : /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-ar
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
Checking for HAVE_CMATH_ISFINITE : no
Checking for HAVE_CMATH_ISINF : no
Checking for HAVE_CMATH_ISNAN : no
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : no
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : no
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : no
Checking for header endian.h : not found
Checking for header byteswap.h : not found
Checking for program ‘cmake’ : /usr/bin/cmake
Checking cmake version : 3.10.2
Checking for program ‘ninja, ninja-build’ : not found
Checking for program ‘make’ : /usr/bin/make
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 gtest
Checking for program ‘arm-none-eabi-size’ : /opt/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-size
Benchmarks : disabled
Unit tests : disabled
Checking for program ‘rsync’ : /usr/bin/rsync
‘configure’ finished successfully (1.366s)
./waf copter
Output:
Waf: Entering directory `/home/aerofc-build/ardupilot/build/aerofc-v1’
[15/16] CMake Build px4 msg_gen
No such file or directory
CMake Error: Generator: execution of make failed. Make command was: “” “msg_gen”
Waf: Leaving directory `/home/aerofc-build/ardupilot/build/aerofc-v1’
Build failed
→ task in ‘px4_msg_gen’ failed (exit status 1):
{task 140712092286560: cmake_build_task → }
/usr/bin/cmake --build /home/aerofc-build/ardupilot/build/aerofc-v1/modules/PX4Firmware --target msg_gen
Can someone help with this error?