Building arducopter 3.1.2 - missing libraries/AP_Math/edc.h

Hello,

I have troubles with building arducopter 3.1.2 (from github).

My steps:

git clone -b ArduCopter-3.1.2 git://github.com/diydrones/ardupilot.git
make configure (in ArduCopter sub-directory)
make (in ArduCopter sub-directory)

But then I got this error:

make: *** No rule to make target /Users/creagel/arducopter/ardupilot/libraries/AP_Math/edc.h', needed by/var/folders/mm/d6b1g0yd2jvd2g1xn552vy6r0000gn/T/ArduCopter.build/ArduCopter.o’. Stop.

The directory AP_Math has not this file inside:

AP_Math.cpp examples matrix3.cpp polygon.h rotations.h vector3.cpp
AP_Math.h keywords.txt matrix3.h quaternion.cpp vector2.cpp vector3.h
AP_Math_AVR_Compat.h location.cpp polygon.cpp quaternion.h vector2.h vectorN.h

What I am doing wrong?

I don’t use the process you are using but, if you are in Windows, try this:

dev.ardupilot.com/wiki/building- … ual-micro/

It works also with the free Atmel Studio 6.2

Note the link may change as the site is being updated. If the link does not work just browse in the table of contents in the developers area.

Dennis