I am new to Ardupilot, and I want to build ArduCopter’s code with waf and bash.
I refered to http://ardupilot.org/dev/docs/building-ardupilot-onwindows10.html, but when tying to compile copter(./waf copter) I got a message like this
In file included from …/…/libraries/AP_Common/Location.h:11:0,
from …/…/ArduCopter/Copter.h:32,
from …/…/ArduCopter/AP_State.cpp:1:
…/…/libraries/AP_Math/AP_Math.h:30:15: error: ‘enable_if’ in namespace ‘std’ does not name a template type
typename std::enable_if<std::is_integral<typename std::common_type<Arithmetic1, Arithmetic2>::type>::value ,bool>::type
^
compilation terminated due to -Wfatal-errors.
I looked for solution but I could not find solution for this error.
Please help me