Open razr opened 4 years ago
Hi @razr,
I have some questions about your environment:
source <ros2-path>/setup.bash
before trying to install the Agent?It seems that CMake is not able to find FastRTPS
neither FastCDR
and that is because they are not in any path that CMake is searching for. Therefore I would try to source
the ROS 2 installation or add -DCMAKE_PREFIX_PATH=<fast-path>
flag to Agent build.
@julibert, I have successfully built FastRTPS with my patches applied as a part of the ROS2 source build. So, it finds properly FastRTPS libs e.g. while building rmw etc. Why it should be different here. But let me check.
@pablogs9, even I'm on your dashing release for Micro-XRCE-DDS-Agent
akholodn@windix:~/github/Wind-River/vxworks7-ros2-build/build/ros2/ros2_ws/src/eProsima/Micro-XRCE-DDS-Agent$ git branch
* dashing
I see that you are building your own Fast-RTPS version 1.8.3 instead of an official one from the ROS2 dashing repo which is 1.8.2
eProsima/Fast-RTPS:
type: git
url: https://github.com/eProsima/Fast-RTPS.git
version: v1.8.2
I have patched CMakeFiles.txt and it takes 1.8.2 now from my build but fails here:
/home/akholodn/github/Wind-River/vxworks7-ros2-build/build/ros2/ros2_ws/src/eProsima/Micro-XRCE-DDS-Agent/src/cpp/xmlobjects/xmlobjects.cpp:18:10: fatal error: 'fastrtps/attributes/ReplierAttributes.hpp' file not found
#include <fastrtps/attributes/ReplierAttributes.hpp>
Hi @razr,
We need that Fast RTPS version because it has support for Requester
and Replier
entities, which are the entities Micro XRCE-DDS uses to handle services in micro-ROS. Is there any possibility to compile this particular version for the Agent?
Hello @julibert, I did this, but it does not help.
It still tries to build fastrtps. I need a way to disable asio, tinyxml2, fastcdr and fastrts