Hi,
trying to setup the build-toolchain for the Navio2 flightcontroller, I now wasted many hours pretty much unsuccessfully.
Setup: Ubuntu 24.04 with docker
What works as of now (after a lot of trial and error): compiling and uploading the current px4-main codebase using the px4io/px4-dev-armhf:2022-08-12 docker image (any later and the used latest emlid-debian image - buster - does not have the necessary version of gclib available)
What I need: compiling and uploading the stable px4 version (so 1.15.2)
What I tried: using many flavors of the px4io/px4-dev-armhf and px4io/px4-dev-raspi images
With the same setup, that works for main, 1.15.2 fails with error:
[58/1063] Performing configure step for 'libmicroxrceddsclient_project'
FAILED: src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-configure
cd /home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-build && /usr/bin/cmake -P /home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-configure-RelWithDebInfo.cmake && /usr/bin/cmake -E touch /home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-configure
CMake Error at /home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-configure-RelWithDebInfo.cmake:16 (message):
Command failed: 1
'/usr/bin/cmake' '-C/home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/tmp/libmicroxrceddsclient_project-cache-RelWithDebInfo.cmake' '-GNinja' '/home/simon/Desktop/PX4-Autopilot/src/modules/uxrce_dds_client/Micro-XRCE-DDS-Client'
See also
/home/simon/Desktop/PX4-Autopilot/build/emlid_navio2_default/src/modules/uxrce_dds_client/src/libmicroxrceddsclient_project-stamp/libmicroxrceddsclient_project-configure-*.log
[63/1063] Generating uORB topic ucdr headers
ninja: build stopped: subcommand failed.
make: *** [Makefile:227: emlid_navio2_default] Error 1
Thanks