SIM_VEHICLE: "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waf-light" "build" "--target" "bin/ardusub"
Waf: Entering directory `/home/zhangym/Desktop/qgroudControl/ardupilot/build/sitl'
Embedding file sandbox.lua:libraries/AP_Scripting/scripts/sandbox.lua
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/AP_HAL/utility/Stream.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/AP_HAL/utility/Print.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/AP_Math/edc.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/DataFlash/DataFlash.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/DataFlash/LogStructure.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/DataFlash/DFMessageWriter.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Dependency /home/zhangym/Desktop/qgroudControl/ardupilot/libraries/DataFlash/DataFlash_Backend.h for
{task 140688167951968: cxx AC_AttitudeControl_Sub.cpp -> AC_AttitudeControl_Sub.cpp.0.o} is missing: check the task declaration and the build order!
Waf: Leaving directory `/home/zhangym/Desktop/qgroudControl/ardupilot/build/sitl'
Build failed
Traceback (most recent call last):
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Runner.py", line 395, in task_status
return tsk.runnable_status()
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/extras/clang_compilation_database.py", line 76, in runnable_status
run_status = self.old_runnable_status()
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Task.py", line 669, in runnable_status
new_sig = self.signature()
File "Tools/ardupilotwaf/ap_persistent.py", line 32, in _signature
s = _original_signature(self)
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Task.py", line 641, in signature
self.sig_implicit_deps()
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/extras/gccdeps.py", line 167, in sig_implicit_deps
return Task.Task.sig_implicit_deps(self)
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Task.py", line 843, in sig_implicit_deps
bld.imp_sigs[key] = self.compute_sig_implicit_deps()
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Task.py", line 865, in compute_sig_implicit_deps
upd(k.get_bld_sig())
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Node.py", line 964, in get_bld_sig
ret = cache[self] = self.h_file()
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Node.py", line 944, in h_file
return Utils.h_file(self.abspath())
File "/home/zhangym/Desktop/qgroudControl/ardupilot/modules/waf/waflib/Utils.py", line 278, in h_file
with open(fname, 'rb') as f:
IOError: [Errno 2] No such file or directory: '/home/zhangym/Desktop/qgroudControl/ardupilot/libraries/AP_HAL/utility/Stream.h'
SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks
今天,git pull之后, ardupilot 就怎么都编译不通过. 回滚到历史版本,还是各种报错.
后来执行命令后,好了.
rm -rf build/
ardupilot$ rm -rf build/
图片