-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Issue template
- Hardware description: MacBook Pro 16'', Intel processor
- OS: macOS Sonoma 14.5
- Installation type: Error when running make command
- Version or commit hash: master branch, tag v2.4.3, commit # 7362281
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?