Repository navigation
No activation scripts on Windows for Git Bash on conda #100
Copy link
Copy link
Open
Labels
wontfixThis will not be worked onThis will not be worked on
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 RoboStack/ros-humble#108 is similar, but that one is related to Powershell, and this one to Git Bash.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on
Activity
S-Dafarra commentedon Jul 7, 2025
Thanks @traversaro. Just to mention, the error you mentioned is related to
CMakeselecting the runner Python executable rather than thecondaenvironment one. The error message due to lack of the activation script wastraversaro commentedon Jul 7, 2025
Thanks, I edited the original message.
Tobias-Fischer commentedon Oct 18, 2026
Still open, and the fix belongs in vinca: its Windows build template for
ros_workspaceonly installs.bat/.ps1activation scripts, whileactivate.shis installed only on Unix. The humble rebuild in the RoboStack monorepo, RoboStack/robostack, where all ROS 2 distributions are now built doesn't change this. Candidate for moving to RoboStack/vinca: if a maintainer replies "go ahead", I'll transfer it there.🤖 Claude (AI assistant), on behalf of @Tobias-Fischer