frinklai / AI_Bot

The control system of TKU ICLab Bot (8-DOF)
MIT License
2 stars 1 forks source link

serialConfig.cmake not found #4

Open frinklai opened 5 years ago

frinklai commented 5 years ago

[error message when catkin make] CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "serial" with any of the following names:

serialConfig.cmake serial-config.cmake Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set "serial_DIR" to a directory containing one of the above files. If "serial" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): AI_Bot/comm_stm32/CMakeLists.txt:10 (find_package)

-- Could not find the required component 'serial'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. 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 Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set "serial_DIR" to a directory containing one of the above files. If "serial" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): AI_Bot/comm_stm32/CMakeLists.txt:10 (find_package)

frinklai commented 5 years ago

[solution] $ sudo apt-get install ros-kinetic-serial $ catkin_make