Skip to content

Could not run make on macOS #371

@Latek

Description

@Latek

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions