Ardupilot: ./waf copter error

Created on 6 Feb 2017  路  4Comments  路  Source: ArduPilot/ardupilot

Issue details

Missing configuration file '/home/fcs/work/ewt_v1_20170113/build/sitl/ap_config.h', reconfigure the project!

Version

master

Platform

[ ] All
[ ] AntennaTracker
[ * ] Copter
[ ] Plane
[ ] Rover

Airframe type

quad

Hardware type

pixhawk

Logs

fcs@fcs-virtual-machine:~/work/code/ewt_v1_20170113$ ./waf configure --board px4-v2
Setting top to : /home/fcs/work/code/ewt_v1_20170113
Setting out to : /home/fcs/work/code/ewt_v1_20170113/build
Autoconfiguration : enabled
Setting board to : px4-v2
Checking for program 'arm-none-eabi-ar' : /usr/bin/arm-none-eabi-ar
Using toolchain : arm-none-eabi
Checking for 'g++' (C++ compiler) : /usr/bin/arm-none-eabi-g++
Checking for 'gcc' (C compiler) : /usr/bin/arm-none-eabi-gcc
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.5.1
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.12
Source is git repository : yes
Update submodules : yes
Checking for program 'git' : /usr/bin/git
Gtest : PX4 boards currently don't support compiling gtest
Checking for program 'arm-none-eabi-size' : /usr/bin/arm-none-eabi-size
Benchmarks : disabled
Unit tests : disabled
'configure' finished successfully (1.761s)
fcs@fcs-virtual-machine:~/work/code/ewt_v1_20170113$ ./waf copter
Missing configuration file '/home/fcs/work/ewt_v1_20170113/build/sitl/ap_config.h', reconfigure the project!

BuildSystem

Most helpful comment

I'm not sure how you got there, but ap_config.h should be generated in the configure step. Try to do a ./waf distclean, and then proceed to do the usual configure and build steps.

All 4 comments

I'm not sure how you got there, but ap_config.h should be generated in the configure step. Try to do a ./waf distclean, and then proceed to do the usual configure and build steps.

No answer after several months, closing.

I encountered the same issue. @OXINARF's suggestion fixed it for me, thanks.

Thanks for the solution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JonathanPlasse picture JonathanPlasse  路  9Comments

patrickpoirier51 picture patrickpoirier51  路  8Comments

machenxiang picture machenxiang  路  8Comments

JoshWelsh picture JoshWelsh  路  4Comments

dongtuu picture dongtuu  路  3Comments