PX4 error in build - Generation of micrortps client code


I have been trying to run px4 rtps client, but it started throwing an error saying
“/src/modules/micrortps_bridge/micrortps_client/microRTPS_transport.h:44:7: error: redefinition of ‘class Transport_node’” when running “make px4_sitl_rtps gazebo”.
I can bypass this error by adding “set(GENERATE_RTPS_BRIDGE “off”)” to the rtps.cmake file but it just works sometimes, it is a bit weird but removing or adding the “” around the word off makes it build without rewriting the micrtorps_client.cpp
Now I can fix the micrortps_client cpp and remove line 34. It compiles correctly but now in the console says it does not recognize the command “micrortps_client”
Any idea how to move forward?

Thank you for the time