Hi. I have been trying to setup the MAVSDK examples following the instructions here: QuickStart · MAVSDK Guide
When I do
cmake --build build -j4
I get the following error:
In file included from /home/aerial/MAVSDK/examples/takeoff_and_land/takeoff_and_land.cpp:8: /usr/include/mavsdk/plugins/action/action.h:16:10: fatal error: plugin_base.h: No such file or directory 16 | #include "plugin_base.h" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [CMakeFiles/takeoff_and_land.dir/build.make:63: CMakeFiles/takeoff_and_land.dir/takeoff_and_land.cpp.o] Error 1 make: *** [CMakeFiles/Makefile2:76: CMakeFiles/takeoff_and_land.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
I have seen some discussions here regarding this error, however the proposed solutions did not work for me.
Has anyone encountered this error?