Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dhananjayrajmane opened this issue Oct 14, 2022 · 3 comments

Comments

@dhananjayrajmane
Copy link

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
Copy link

You should clone the dev-ros2 branch for ROS 2

@LiangHuangBC
Copy link

You should clone the dev-ros2 branch for ROS 2

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

@LiangHuangBC
Copy link

Cloned dev-ros2 and it is working~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants