Cpp Course repo package is missing in the basic Cpp course

The Instruction says the package Cpp_course_repo will be present by default but its not. When I tried creating it manually I faced the following issue during build.

catkin_make
Base path: /home/user/catkin_ws
Source space: /home/user/catkin_ws/src
Build space: /home/user/catkin_ws/build
Devel space: /home/user/catkin_ws/devel
Install space: /home/user/catkin_ws/install

Running command: “make cmake_check_build_system” in “/home/user/catkin_ws/build”

– Using CATKIN_DEVEL_PREFIX: /home/user/catkin_ws/devel
– Using CMAKE_PREFIX_PATH: /home/user/catkin_ws/devel;/home/simulations/public_sim_ws/devel;/opt/ros/kinetic
– This workspace overlays: /home/user/catkin_ws/devel;/home/simulations/public_sim_ws/devel;/opt/ros/kinetic
– Using PYTHON_EXECUTABLE: /usr/bin/python
– Using Debian Python package layout
– Using empy: /usr/bin/empy
– Using CATKIN_ENABLE_TESTING: ON
– Call enable_testing()
– Using CATKIN_TEST_RESULTS_DIR: /home/user/catkin_ws/build/test_results
– Found gtest sources under ‘/usr/src/gmock’: gtests will be built
– Found gmock sources under ‘/usr/src/gmock’: gmock will be built
– Using Python nosetests: /usr/local/bin/nosetests-2.7
– catkin 0.7.20
– BUILD_SHARED_LIBS is on
– BUILD_SHARED_LIBS is on
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– ~~ traversing 1 packages in topological order:
– ~~ - c_scripts
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– +++ processing catkin package: ‘c_scripts’
– ==> add_subdirectory(cpp_course_repo/c_scripts)
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by “rosbot_control”
with any of the following names:

rosbot_controlConfig.cmake
rosbot_control-config.cmake

Add the installation prefix of “rosbot_control” to CMAKE_PREFIX_PATH or set
“rosbot_control_DIR” to a directory containing one of the above files. If
“rosbot_control” provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
cpp_course_repo/c_scripts/CMakeLists.txt:8 (find_package)

– Could not find the required component ‘rosbot_control’. 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 “rosbot_control”
with any of the following names:

rosbot_controlConfig.cmake
rosbot_control-config.cmake

Add the installation prefix of “rosbot_control” to CMAKE_PREFIX_PATH or set
“rosbot_control_DIR” to a directory containing one of the above files. If
“rosbot_control” provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
cpp_course_repo/c_scripts/CMakeLists.txt:8 (find_package)

– Configuring incomplete, errors occurred!
See also “/home/user/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/user/catkin_ws/build/CMakeFiles/CMakeError.log”.
Makefile:542: recipe for target ‘cmake_check_build_system’ failed
make: *** [cmake_check_build_system] Error 1

Did you start taking the course from the beginning? Please do, and you will find a command for cloning the repository.

Thanks a lot, It was the issue got it resolved.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.