I'm trying to build ArduCopter with make inside cygwin following the instructions on the wiki, http://dev.ardupilot.com/wiki/ez-building-apm2-with-make-in-windows/, but get an error.
HAL_BOARD=HAL_BOARD_APM2 TOOLCHAIN=AVR EXTRAFLAGS=-DGIT_VERSION="4148c4e0"
avr-g++.exe: error: /tmp/ArduCopter.build/ArduCopter.cpp: No such file or directory
avr-g++.exe: fatal error: no input files
C:/Development/Ardupilot/ardupilot/mk/board_avr.mk:194: recipe for target '/tmp/ArduCopter.build/ArduCopter.o' failed
make: *** [/tmp/ArduCopter.build/ArduCopter.o] Error 1
I guess that avr-g++.exe can not find the .cpp files.
Do anyone know how to get this working?
Building for SITL works fine, though there are a lot of warnings.