For a school project we are using the parrot bebop 2 drone, for which we aim to develop a specific ground control system using PX4. When following the tutorial at https://dev.px4.io/en/setup/building_px4.html#parrot-bebop we ran into two problems:
- Instead of a
px4 file appearing in the
/usr/bin folder, a
px4.stripped file appears. In our local build folder (before doing
make posix_bebop_default upload) we do have a
px4 file, but it does not get uploaded to the drone.
- When following the rest of the tutorial using
px4.stripped /home/root/px4.config, we get this error:
/lib/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./px4). If we understand this error correctly, this means that the compiler had more c++ libraries available than there are installed on the drone. Indeed, only GLIBCXX libraries up to 19 or 20 are installed on the drone. Is it possible to either install these libraries on the drone (using telnet or adb or another method) or either compile the files without using the libraries so the built product works on the drone?
Any help is highly appreciated, thank you.
EDIT: We used the
g++-arm-linux-gnueabihf toolchains when building.