[Newbie] Help building a custom firmware for ArduPlane

Hi everyone,

I'm trying to build firmware for ArduPlane using Windows. I followed the instructions on 

http://ardupilot.org/dev/docs/building-px4-with-make.html

(I didn't make any changes to the files or folders.)

I'm running into the errors 

make[4]: *** [/c/users/(myname)/documents/github/ardupilot/ArduPlane/ArduPlane.cpp.o] Error 1
make[4]: Leaving directory `/c/users/(myname)/documents/github/ardupilot/modules/PX4Firmware/Build/px4fmu-v1_APM.build/c/users/(myname)/documents/github/ardupilot'
make[3]: *** [/c/users/(myname)/documents/github/ardupilot/modules/PX4Firmware/Build/px4fmu-v1_APM.build//c/users/(myname)/documents/github/ardupilot/module.pre.o] Error 2
make[3]: Leaving directory `/c/users/(myname)/documents/github/ardupilot/modules/PX4Firmware/Build/px4fmu-v1_APM.build'
make[2]: *** [/c/users/(myname)/documents/github/ardupilot/modules/PX4Firmware/Build/px4fmu-v1_APM.build/firmware.px4] Error 2
make[2]: Leaving directory `/c/users/(myname)/documents/github/ardupilot'
make[1]: *** [px4-v1] Error 2
make[1]: Leaving directory `/c/users/(myname)/documents/github/ardupilot/ArduPlane'
make: *** [px4] Error 2

I figured it might be because my submodules aren't updating correctly, so I ran the command to update them and I'm getting the errors

Failed to recurse into submodule path 'modules/PX4Firmware'

I'm clueless when it comes to this sort of thing, so I'm hoping somebody who's done this before can maybe help out.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Try to do it on Linux, it just works.
This reply was deleted.

Activity