Couldn't run : colcon build --merge-install
Hi, I am trying to install ROS for the first time. I use ROS Foxy, Windows 10 and VS2019. I followed ROS tutorial here : https://docs.ros.org/en/foxy/Installa...
When i launched : >colcon build --merge-install
, I obtained this :
[5.466s] root DEBUG Using proactor: IocpProactor
[5.537s] colcon.colcon_ros.prefix_path.catkin WARNING The path 'C:\opt\ros\noetic\x64\tools\vcpkg\installed\x64-windows' in the environment variable CMAKE_PREFIX_PATH doesn't exist
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> gtest_vendor
Starting >>> fastcdr
Starting >>> ament_cppcheck
Starting >>> cyclonedds
Starting >>> osrf_pycommon
Starting >>> osrf_testing_tools_cpp
--- stderr: cyclonedds
CMake Error at CMakeLists.txt:13 (project):
No CMAKE_C_COMPILER could be found.
---
Failed <<< cyclonedds [4.58s, exited with code 1]
Aborted <<< gtest_vendor [4.72s]
Aborted <<< fastcdr [5.08s]
Aborted <<< ament_lint [5.66s]
Aborted <<< ament_package [5.70s]
Aborted <<< ament_cppcheck [5.55s]
Aborted <<< osrf_pycommon [5.48s]
Aborted <<< osrf_testing_tools_cpp [6.72s]
Summary: 0 packages finished [11.7s]
1 package failed: cyclonedds
7 packages aborted: ament_cppcheck ament_lint ament_package fastcdr gtest_vendor osrf_pycommon osrf_testing_tools_cpp
3 packages had stderr output: cyclonedds fastcdr osrf_testing_tools_cpp
302 packages not processed
the link points to the ROS 2 Foxy installation documentation for a Windows development setup.
You are not using ROS Noetic, as that's a ROS 1 version.
My bad, I am installing Foxy ... (topic edited)
Ok, I managed to fix that by reinstalling Visual Studio. Now I get :
Is that a good sign ? Because ros2 is still not recognized as an intern command.