Open Latek opened 4 months ago
Running the installation according to the guide: https://micro-xrce-dds.docs.eprosima.com/en/latest/installation.html#installing-the-agent-standalone.
To build the agent without errors.
[ 66%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/transport/can/CanAgentLinux.cpp.o /Users/szymon/dev/iot/Micro-XRCE-DDS-Agent/src/cpp/transport/can/CanAgentLinux.cpp:24:10: fatal error: 'linux/can.h' file not found
^~~~~~~~~~~~~
1 error generated. make[5]: [CMakeFiles/microxrcedds_agent.dir/src/cpp/transport/can/CanAgentLinux.cpp.o] Error 1 make[4]: [CMakeFiles/microxrcedds_agent.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [uagent-prefix/src/uagent-stamp/uagent-build] Error 2 make[1]: [CMakeFiles/uagent.dir/all] Error 2 make: [all] Error 2
I don't need CAN right now. Is there a way to build the agent and include or exclude some transport methods?
Issue template
Steps to reproduce the issue
Running the installation according to the guide: https://micro-xrce-dds.docs.eprosima.com/en/latest/installation.html#installing-the-agent-standalone.
Expected behavior
To build the agent without errors.
Actual behavior
[ 66%] Building CXX object CMakeFiles/microxrcedds_agent.dir/src/cpp/transport/can/CanAgentLinux.cpp.o /Users/szymon/dev/iot/Micro-XRCE-DDS-Agent/src/cpp/transport/can/CanAgentLinux.cpp:24:10: fatal error: 'linux/can.h' file not found
include <linux/can.h>
1 error generated. make[5]: [CMakeFiles/microxrcedds_agent.dir/src/cpp/transport/can/CanAgentLinux.cpp.o] Error 1 make[4]: [CMakeFiles/microxrcedds_agent.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [uagent-prefix/src/uagent-stamp/uagent-build] Error 2 make[1]: [CMakeFiles/uagent.dir/all] Error 2 make: [all] Error 2
Additional information
I don't need CAN right now. Is there a way to build the agent and include or exclude some transport methods?