ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Can't build a fresh github clone

Open maciek252 opened this issue 6 years ago • 1 comments

Bug report

Can't build the code. After cloning the repo, I init and update the modules,

git submodule init git submodule update

and then execute "make f4light" in either ArduPlane or ArduCopter dir. And I get:

python: can't open file '(...)/ardupilot/modules/mavlink//pymavlink/tools/mavgen.py': [Errno 2] No such file or directory

I can't build neither the night-ghost's forked nor the main ArduPilot repository.

EDIT: I've executed git submodule update --init --recursive and it took me a bit further: /ardupilot/libraries/AP_HAL_F4Light/hardware/hal/syscalls.h:1:23: fatal error: stm32f4xx.h: No such file or directory #include "stm32f4xx.h"

Version The current from github

maciek252 avatar Oct 25 '18 18:10 maciek252

it seems like the tool installation script is outdated, so it's not cloning the necessary dependencies

dinhthong avatar Apr 19 '20 05:04 dinhthong