I can not use catkin_make
I want to use turtlebot in gazebo. So I referred to the address below and executed the code below. I can not use catkin_make.
https://automaticaddison.com/how-to-launch-the-turtlebot3-simulation-with-ros/
cd ~/catkin_ws/src/
git clone https://github.com/ROBOTIS-GIT/turtlebot3_msgs.git
git clone https://github.com/ROBOTIS-GIT/turtlebot3.git
cd ~/catkin_ws && catkin_make
The text displayed is as follows.
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "roscnsole" with
any of the following names:
roscnsoleConfig.cmake
roscnsole-config.cmake
Add the installation prefix of "roscnsole" to CMAKE_PREFIX_PATH or set
"roscnsole_DIR" to a directory containing one of the above files. If
"roscnsole" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
turtlesim_practice/CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/robotai/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/robotai/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:726: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Asked by ayaka on 2022-10-04 02:36:06 UTC
Answers
The error you are having is within a package independant of turtlebot3.
It seems that your workspace includes a package named "turtlesim_practice" and that in the CMakeLists.txt of that package there is a typo on the line saying to find rosconsole
it is written roscnsole
instead ; and the roscnsole
ROS package doesnt exist on you machine
Asked by marguedas on 2022-10-08 13:43:29 UTC
Comments