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

Build fails: rclc/rclc.h and uxr/client/transport.h not found #17

Open
playduck opened this issue Jun 29, 2024 · 1 comment
Open

Build fails: rclc/rclc.h and uxr/client/transport.h not found #17

playduck opened this issue Jun 29, 2024 · 1 comment

Comments

@playduck
Copy link

  • Hardware description: STM32F4
  • RTOS: ThreadX
  • Installation type: n/a
  • Version or commit hash: latest (d14d5bd)

Steps to reproduce the issue

Compile as desribed in the redame:

python3 -m venv venv
source ./venv/bin/activate
pip3 install catkin_pkg lark-parser empy colcon-common-extensions

git clone --recursive https://github.com/micro-ROS/micro_ros_azure_rtos_app
cd micro_ros_azure_rtos_app
cmake -Bbuild -GNinja
cmake --build build # run this three times

Expected behavior

Successful build/no errors

Actual behavior

The first two build runs produce errors, but there are fixed by subsequent runs as the required byproducts are produced.
The third and all further runs result in the errors:

[...]
micro_ros_azure_rtos_app/app/microros_netx_transports.c:1:10: fatal error: uxr/client/transport.h: No such file or directory
    1 | #include <uxr/client/transport.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[...]
micro_ros_azure_rtos_app/app/main.c:9:10: fatal error: rclc/rclc.h: No such file or directory
    9 | #include <rclc/rclc.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

(Build command output has been removed for brevity)

Additional information

The repository has been successfully cloned. The two files rclc.h and transport.h can be found in their respective paths on disk.
The same error occurs with the previous commit (f83776e).
I was also a little suspect of Ninja, but compiling with cmake -Bbuild -G "Unix Makefiles" yields the same result.

This seems to either be some sort of build system issue or an environment problem.
Perhaps the readme is missing some implicit steps I'm unaware of?

@christian-nils
Copy link

Hi,

Just for information (as your issue was open few months ago), I can build the project without any issues. Which compiler are you using?

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

2 participants