Hi!
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.
nihogb@CO-P04169 /cygdrive/c/Development/Ardupilot/ardupilot/ArduCopter
$ make
HAL_BOARD=HAL_BOARD_APM2 TOOLCHAIN=AVR EXTRAFLAGS=-DGIT_VERSION="4148c4e0"
building /tmp/ArduCopter.build/ArduCopter.cpp
%% ArduCopter.cpp
%% ArduCopter.o
avr-g++.exe: error: /tmp/ArduCopter.build/ArduCopter.cpp: No such file or directory
avr-g++.exe: fatal error: no input files
compilation terminated.
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.
Replies
No, I didn't unfortunately. I ended up using the PX4 tools.
See this thread
https://groups.google.com/forum/m/#!msg/drones-discuss/YooljrxL36A/WgXk44nqcI0J
Hello Nils,
Now I got to the same problem.
Have you solved it by now?
Rgds
Staffan