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

Install both conda-provided dependencies and ros noetic in conda result in dependency error #1230

Closed
traversaro opened this issue Aug 7, 2022 · 1 comment

Comments

@traversaro
Copy link
Member

Seamless installation of both ROS and robotology dependencies in the same environment is a key selling point of using conda-forge based packages. However, at the moment if one installs both ROS1 Noetic and robotology-superbuild dependencies, this result in an error, for example via:

mamba create -n HDE -c conda-forge -c robostack -c robostack-experimental python ros-noetic-desktop compilers cmake pkg-config make ninja colcon-common-extensions catkin_tools ace asio assimp boost eigen freetype gazebo glew glfw glm graphviz gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json opencv pkg-config portaudio sdl sdl2 sqlite tinyxml spdlog lua soxr qt-main

The problem that emerges is that we still did not have a rebuild of ROS Noetic with qt 5.15 (i.e. the only version for which qt-main exists). So, a possible solution is to remove qt-main from the list of installed packages, and you install qt instead (a package that exists for both qt 5.12 and 5.15), everything should work, even if you will get a slightly older version of qt:

mamba create -n HDE -c conda-forge -c robostack -c robostack-experimental python ros-noetic-desktop compilers cmake pkg-config make ninja colcon-common-extensions catkin_tools ace asio assimp boost eigen freetype gazebo glew glfw glm graphviz gsl ipopt irrlicht libjpeg-turbo libmatio libode libxml2 nlohmann_json opencv pkg-config portaudio sdl sdl2 sqlite tinyxml spdlog lua soxr qt

The problem is this is untested in CI. The proper fix for this problem is to do a global rebuild of ROS Noetic packages on the RoboStack/ros-noetic side.

@traversaro
Copy link
Member Author

This is fixed by the new rebuild of ros-noetic packages that use qt-main and that are available in the robostack-staging channel: RoboStack/ros-noetic#295 .

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

1 participant