Robotics StackExchange | Archived questions

catkin_make isn't building anything on ROS noetic

when I run catkinmake in the catkinws directory I get this

Base path: /home/nicknair/catkin_ws
Source space: /home/nicknair/catkin_ws/src
Build space: /home/nicknair/catkin_ws/build
Devel space: /home/nicknair/catkin_ws/devel
Install space: /home/nicknair/catkin_ws/install
####
#### Running command: "cmake /home/nicknair/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/nicknair/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/nicknair/catkin_ws/install -G Unix Makefiles" in "/home/nicknair/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/nicknair/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/nicknair/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/nicknair/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.5", minimum required is "3") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/nicknair/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.5") 
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.9
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 5 packages in topological order:
-- ~~  - beginner_tutorials
-- ~~  - charging_dock_description
-- ~~  - igt_one_description
-- ~~  - igt_one_nav
-- ~~  - muv_description
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'beginner_tutorials'
-- ==> add_subdirectory(beginner_tutorials)
-- +++ processing catkin package: 'charging_dock_description'
-- ==> add_subdirectory(igt_100/charging_dock_description)
-- +++ processing catkin package: 'igt_one_description'
-- ==> add_subdirectory(igt_100/igt_one_description)
-- +++ processing catkin package: 'igt_one_nav'
-- ==> add_subdirectory(igt_100/igt_one_nav)
-- +++ processing catkin package: 'muv_description'
-- ==> add_subdirectory(muv/muv_description)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nicknair/catkin_ws/build
####
#### Running comma

It doesn't build anything, The package isn't recognized with roslaunch or rosrun.

Asked by wewnikhil on 2021-03-30 17:11:45 UTC

Comments

Did you make sure to source the workspace using source /home/nicknair/catkin_ws/devel/setup.bash in the terminal or by adding that line to your bashrc?

Asked by abhishek47 on 2021-03-30 23:37:56 UTC

There are 5 packages discovered. Your catkin_make output is truncated. We cannot determine whether or not it works like this.

Asked by gvdhoorn on 2021-03-31 03:34:09 UTC

you need to check first 'echo $ROS_PACKAGE_PATH' if it's fine as suggested in tutotial then create new catkin workspace then source your echo "source /opt/ros//setup.bash" >> ~/.bashrc source ~/.bashrc 'catkin_init_workspace' and then use catkin_make. Otherwise you need to source your workspace.

Asked by ghdh on 2021-05-09 14:12:56 UTC

Answers