ROS2 windows error : CMake Error at CMakeLists.txt:4 (find_package)
D:\ros2\ROS-TCP-Endpoint>colcon build Starting >>> ros_tcp_endpoint --- stderr: ros_tcp_endpoint CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
CMake Error at CMakeLists.txt:4 (find_package): By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one.
Could not find a package configuration file provided by "catkin" with any of the following names:
catkinConfig.cmake
catkin-config.cmake
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.
Failed <<< ros_tcp_endpoint [14.7s, exited with code 1]
Summary: 0 packages finished [15.1s] 1 package failed: ros_tcp_endpoint 1 package had stderr output: ros_tcp_endpoint
You should clone the dev-ros2 branch for ROS 2
You should clone the
dev-ros2branch for ROS 2
How should I do, if I installed ROS2 by apt install?
Cloned dev-ros2 and it is working~~~