Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not run make on macOS #371

Open
Latek opened this issue Jul 24, 2024 · 0 comments
Open

Could not run make on macOS #371

Latek opened this issue Jul 24, 2024 · 0 comments

Comments

@Latek
Copy link

Latek commented Jul 24, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant