安装SITL错误:我错过了什么?

时间:2015-11-16 17:37:46

标签: dronekit-python dronekit

我很难安装SITL,我尝试了很多方法。 请我不知道如何继续。

我按照说明进行操作 http://dev.ardupilot.com/wiki/sitl-nati ... _in_cygwin

我能够 制作px4-v2

在.bashrc中正确设置了路径 export PATH = $ PATH:$ HOME / ardupilot / Tools / autotest

然而, 制作sitl -j4 生成以下错误:

$ make sitl -j4
%% libraries/AP_Common/c++.o
%% libraries/AP_Common/AP_Common.o
%% libraries/AP_Menu/AP_Menu.o
In file included from /home/Me/ardupilot/libraries/AP_Common/c++.cpp:9:0:
/home/Me/ardupilot/libraries/AP_HAL/AP_HAL.h:6:21: fatal error: stdbool.h: No such file or directory
compilation terminated.
C:/cygwin/home/Me/ardupilot/mk/build_rules.mk:27: recipe for target '/tmp/arducopter.build/libraries/AP_Common/c++.o' failed
make: *** [/tmp/arducopter.build/libraries/AP_Common/c++.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /home/Me/ardupilot/libraries/AP_Common/AP_Common.cpp:21:0:
/home/Me/ardupilot/libraries/AP_HAL/AP_HAL.h:6:21: fatal error: stdbool.h: No such file or directory
compilation terminated.
C:/cygwin/home/Me/ardupilot/mk/build_rules.mk:27: recipe for target '/tmp/arducopter.build/libraries/AP_Common/AP_Common.o' failed
make: *** [/tmp/arducopter.build/libraries/AP_Common/AP_Common.o] Error 1
// BUILDROOT=/tmp/arducopter.build HAL_BOARD=HAL_BOARD_SITL HAL_BOARD_SUBTYPE=HAL_BOARD_SUBTYPE_NONE TOOLCHAIN=NATIVE EXTRAFLAGS=-DGIT_VERSION="c52f16b8"
In file included from /home/Me/ardupilot/libraries/AP_Common/AP_Common.h:26:0,
                 from /home/Me/ardupilot/libraries/AP_Menu/AP_Menu.cpp:7:
/usr/include/stdlib.h:16:20: fatal error: stddef.h: No such file or directory
compilation terminated.
C:/cygwin/home/Me/ardupilot/mk/build_rules.mk:27: recipe for target '/tmp/arducopter.build/libraries/AP_Menu/AP_Menu.o' failed
make: *** [/tmp/arducopter.build/libraries/AP_Menu/AP_Menu.o] Error 1

1 个答案:

答案 0 :(得分:0)