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

Building issue cmake generateDeviceParamsParser command #75

Open
omareldardear opened this issue Nov 27, 2024 · 1 comment
Open

Building issue cmake generateDeviceParamsParser command #75

omareldardear opened this issue Nov 27, 2024 · 1 comment

Comments

@omareldardear
Copy link

Dear all,

I am trying to try using icub with ROS2 using moveit repo -> https://github.com/icub-tech-iit/xcub-moveit2
I found some errors while building this repository.

1- "test_msgs", package not found -> CMakeLists.txt:87 .
I assume that this is a testing repo so I just deleted this line

2- Following that I found another issue which is:
CMake Error at src/devices/rangefinder2D_nws_ros2/CMakeLists.txt:14 (generateDeviceParamsParser):
Unknown CMake command "generateDeviceParamsParser".

Is there a flag I need to set it ON while building yarp (superbuild) ?

OS: Ubuntu jammy 22.04 (Ros2 Docker image)
superbuild v2024.08.0 (installed inside the docker image)
The I am trying to install this repo from inside the docker

Thanks in advance

@traversaro
Copy link
Member

1- "test_msgs", package not found -> CMakeLists.txt:87 .
I assume that this is a testing repo so I just deleted this line

Which ROS 2 distribution are you using? You need to install also the ros-${ROS_DISTRO}-test-msgs to build yarp-devices-ros2.

2- Following that I found another issue which is:
CMake Error at src/devices/rangefinder2D_nws_ros2/CMakeLists.txt:14 (generateDeviceParamsParser):
Unknown CMake command "generateDeviceParamsParser".

The current master version of this repo is compatible with YARP 3.10, that is going to be released as part of the robotology distro 2024.11.0, including this repo (see robotology/robotology-superbuild#1746). If you need a version compatible with YARP 3.9, you can check the branch https://github.com/ami-iit/yarp-devices-ros2/tree/yarp-3.9 .

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