ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Error: CMake Error - serial

asked 2018-01-04 02:55:55 -0600

sonarsensor gravatar image

updated 2018-01-05 00:21:07 -0600

I'm having errors in my workspace when I'm trying to compile. Here's the error.

*CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
  Could not find a package configuration file provided by "serial" with any
  of the following names:

I tried fixing it with installing package, sudo apt-get install ros-kinetic-serial but still I'm getting the same error. Do you have any idea on how to fix this?

edit retag flag offensive close merge delete



Can you give us a little more to go off of such as your CMakeLists.txt and anything else that may be relevant/helpful? I'm also assuming that you're using Kinetic with Ubuntu 16.04.

jayess gravatar image jayess  ( 2018-01-04 04:06:08 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-12-01 06:48:48 -0600

updated 2021-12-01 07:46:36 -0600

Check this out, serial package. Link or goto

After installing, make sure to,

cd catkin_ws && source /tmp/usr/local/setup.bash and then catkin_make

Worked for me on ROS noetic

edit flag offensive delete link more


worked for me for ROS Noetic. thank you.

girayuzun gravatar image girayuzun  ( 2023-02-07 03:30:08 -0600 )edit

answered 2019-10-13 07:04:15 -0600

punjabi gravatar image

check updating your dependcies $ rosdep update

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-01-04 02:55:55 -0600

Seen: 5,027 times

Last updated: Dec 01 '21