RoboStack / RoboStack/ros-humble
No activation scripts on Windows for Git Bash on conda
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 169
- Forks
- 80
- Avg merge
- 5h 55m
- Merged PRs (30d)
- 1
Description
Today with @s-dafarra we spent some time, as a CI job was failing on find_package(rclcpp) was failing with:
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.20348.
-- The CXX compiler identification is MSVC 19.44.35209.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found YCM: C:/Users/runneradmin/miniconda3/envs/test/Library/share/cmake/YCM (found version "0.18.3")
-- Found YCM: C:/Users/runneradmin/miniconda3/envs/test/Library/share/cmake/YCM (found version "0.18.3")
-- Found YARP: C:/Users/runneradmin/miniconda3/envs/test/Library/lib/cmake/YARP (found version "3.[10](https://github.com/ami-iit/isaac-sim-yarp-bridge/actions/runs/16057347337/job/45314923682?pr=1#step:8:11).1~dev")
-- Found ament_cmake: 1.3.11 (C:/Users/runneradmin/miniconda3/envs/test/Library/share/ament_cmake/cmake)
-- Found Python3: C:/Users/runneradmin/miniconda3/envs/test/python.exe (found version "3.[11](https://github.com/ami-iit/isaac-sim-yarp-bridge/actions/runs/16057347337/job/45314923682?pr=1#step:8:12).13") found components: Interpreter
-- Found rclcpp: 16.0.11 (C:/Users/runneradmin/miniconda3/envs/test/Library/share/rclcpp/cmake)
-- Found rosidl_generator_c: 3.1.6 (C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_generator_c/cmake)
-- Found rosidl_adapter: 3.1.6 (C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_adapter/cmake)
-- Found rosidl_generator_cpp: 3.1.6 (C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_generator_cpp/cmake)
CMake Error at C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_typesupport_c/cmake/get_used_typesupports.cmake:35 (message):
No 'rosidl_typesupport_c' found
Call Stack (most recent call first):
C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:8 (get_used_typesupports)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include)
-- Configuring incomplete, errors occurred!
C:/Users/runneradmin/miniconda3/envs/test/Library/share/builtin_interfaces/cmake/ament_cmake_export_dependencies-extras.cmake:[21](https://github.com/ami-iit/isaac-sim-yarp-bridge/actions/runs/16057347337/job/45314923682?pr=1#step:8:22) (find_package)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/builtin_interfaces/cmake/builtin_interfacesConfig.cmake:41 (include)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/libstatistics_collector/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/libstatistics_collector/cmake/libstatistics_collectorConfig.cmake:41 (include)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package)
C:/Users/runneradmin/miniconda3/envs/test/Library/share/rclcpp/cmake/rclcppConfig.cmake:41 (include)
CMakeLists.txt:73 (find_package)
after some investigation (https://github.com/ami-iit/isaac-sim-yarp-bridge/pull/1) we realized that the problem was that we were using conda on Git Bash, and robostack does not provide Git Bash activation scripts on Windows (as opposed to most of IIT-related packages in conda-forge).
Note that this is not a problem in pixi, as pixi always using the .bat activation scripts also on other shells.
I do not plan to work on this at the moment, but I think an open issue is helpful for anyone encountering this problem.
The issue in https://github.com/RoboStack/ros-humble/issues/108 is similar, but that one is related to Powershell, and this one to Git Bash.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the failure at CMakeLists.txt:73 and the investigation in PR #1, then inspect the conda package contents for Windows activation scripts. Compare the scripts available to Git Bash with the .bat activation behavior used by pixi. Done means Git Bash on Windows can activate the environment and complete the reported find_package(rclcpp) workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, python
- Domain
- cli, devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100