Error While building DDS Agent

I am following the PX4 ROS2 User Guide and running make on git clone -b v2.4.2 https://github.com/eProsima/Micro-XRCE-DDS-Agent.git

I am encountering a Git reference problem

[ 41%] Performing test step for 'fastcdr'
[ 44%] Completed 'fastcdr'
[ 50%] Built target fastcdr
[ 52%] Performing download step (git clone) for 'fastdds'
Cloning into 'fastdds'...
fatal: invalid reference: 2.12.x
CMake Error at /home/../Micro-XRCE-DDS-Agent/build/fastdds/tmp/fastdds-gitclone.cmake:40 (message):
  Failed to checkout tag: '2.12.x'


make[2]:  [CMakeFiles/fastdds.dir/build.make:101: fastdds/src/fastdds-stamp/fastdds-download] Error 1
make[1]:  [CMakeFiles/Makefile2:141: CMakeFiles/fastdds.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Looks like the build system is trying to checkout a Git branch/tag 2.12.x that doesn’t exist in the FastDDS repository?

Anyone else encounter any errors when building the agent?

Idk if this is a good solution but this works

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.