Building ArduPlane 3.4.0 SITL on windows

Hello,

I’m trying to build SITL on my customized code which is based on ArduPlane 3.4.0 release (3aa9eb0). I’m getting this error:

Building /tmp/arduplane.build/arduplane.elf %% arduplane.elf /tmp/arduplane.build/libraries/DataFlash/LogFile.o: In function `ZNK6AP_RPM7get_rpmEh': /cygdrive/c/uav/git/ardupilot/libraries/AP_RPM/AP_RPM.h:71: undefined reference to `AP_RPM::healthy(unsigned char) const' /cygdrive/c/uav/git/ardupilot/libraries/AP_RPM/AP_RPM.h:71: undefined reference to `AP_RPM::healthy(unsigned char) const' collect2: error: ld returned 1 exit status C:/uav/git/ardupilot/mk/board_native.mk:107: recipe for target '/tmp/arduplane.build/arduplane.elf' failed make: *** [/tmp/arduplane.build/arduplane.elf] Error 1

Currently master (e0810c2) builds without problems. Any help apricieted

For some reason AP_RPM library wasn’t added to make.inc and it didn’t build library, but it is implemented in logging…

Another user has posted a similar issue when trying to build for Rover. We may have a windows related build issue. We are looking into it.

Thanks, Grant.

This has been reported to be resolved in Rover if you add
LIBRARIES += AP_RPM
to the end of make.inc. However, Plane already has this in make.inc so it should work. Can you please ensure you code is fully up to date with master?

Thanks, Grant.