Unity-Technologies / ROS-TCP-Endpoint

ROS package used to create an endpoint to accept ROS messages sent from a Unity scene using the ROS TCP Connector scripts
Apache License 2.0
177 stars 118 forks source link

ROS2 windows error : CMake Error at CMakeLists.txt:4 (find_package) #157

Open dhananjayrajmane opened 1 year ago

dhananjayrajmane commented 1 year ago

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 value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

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

bcanozter commented 1 year ago

You should clone the dev-ros2 branch for ROS 2

LiangHuangBC commented 11 months ago

You should clone the dev-ros2 branch for ROS 2

How should I do, if I installed ROS2 by apt install?

LiangHuangBC commented 11 months ago

Cloned dev-ros2 and it is working~~~