-
Notifications
You must be signed in to change notification settings - Fork 44
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
"'rcl_timer_init2’ was not declared in this scope" error during initial Colcon build; Build failed #393
Comments
Hi, I can't reperduce this compile error : rclc git:(humble) colcon build
Starting >>> rclc
Finished <<< rclc [30.1s]
Starting >>> rclc_lifecycle
Starting >>> rclc_parameter
Finished <<< rclc_lifecycle [15.5s]
Finished <<< rclc_parameter [30.7s]
Starting >>> rclc_examples
Finished <<< rclc_examples [12.5s]
Summary: 4 packages finished [1min 14s] But I believe this error |
could you info the commit hash of |
How would I go about that? I can't find in the docs where it's located nor if there is a way to check the version. I'm presuming I have the latest one as I tested it on a freshly installed ROS2 Humble and it still gave me the error. |
That was it, thank you very much. I forgot to switch branches when cloning again, so full mistakes on me 😅 |
Steps to reproduce
Expected behavior
The workspace builds with no errors
Actual behavior
After entering
colcon build
command for the second time, the error log bellow is shown and the build failsAdditional information
Changing the
rcl_timer_init2
torcl_timer_init
in both~/rclc_ws/rclc/rclc/src/rclc/timer.c:36:18
and~/rclc_ws/rclc/rclc/test/rclc/test_executor.cpp:575:7
did not resolve the issue.Aditionally no info was found on this online hence why I'm opening up the issue.
Micro-ROS
When following the Micro-ROS tutorial there were no issues related to RCLC, but when trying to install just RCLC in a seperate workspace, this error occurs
The text was updated successfully, but these errors were encountered: