Robotics StackExchange | Archived questions

Error: CMake Error - serial

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:
    serialConfig.cmake
    serial-config.cmake*

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?

Asked by sonarsensor on 2018-01-04 03:55:55 UTC

Comments

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.

Asked by jayess on 2018-01-04 05:06:08 UTC

Answers

check updating your dependcies $ rosdep update

Asked by punjabi on 2019-10-13 07:04:15 UTC

Comments

Check this out, serial package. Link or goto

http://wjwwood.io/serial/

After installing, make sure to,

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

Worked for me on ROS noetic

Asked by amjack on 2021-12-01 07:48:48 UTC

Comments

worked for me for ROS Noetic. thank you.

Asked by girayuzun on 2023-02-07 04:30:08 UTC