-
Notifications
You must be signed in to change notification settings - Fork 2
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
[BUG] multiple definition of visionary::VisionaryControl::kSessionTimeout #1
Comments
Hi arrfou99, during our current release process, we noticed this issue again. Sincerely |
I'm having the same issue while integrating this into ROS2 (humble) on default Ubuntu 22 ROS Docker container. In an Ubuntu24 ROS2 (Jazzy) this does not cause an error. Both of them are using the ROS2 colcon build environment. |
Hello @robclaes, We failed to reproduce the error while building this repo inside the two Docker containers (Ubuntu 22 + Humble and Ubuntu 24 + Jazzy). Could you provide a minimal reproducible example (ROS2 with colcon) so we have a common starting point? Your help is much appreciated. |
I have tried to create a minimal example on https://github.com/robclaes/sick_minimal_example |
I get a multiple definition error that I never got before which is not clear to me why!
After checking it looks like there are two kSessionTimeout defined where we have this constant defined two times:
sick_visionary_cpp_base/src/VisionaryControl.cpp
Line 27 in a2361e4
sick_visionary_cpp_base/src/VisionaryControl.h
Line 36 in a2361e4
in order to avoid this error I had to remove the line VisionaryControl.cpp and use this in the VisionaryControl.h
The text was updated successfully, but these errors were encountered: