catkin_make isn't building anything on ROS noetic

asked 2021-03-30 17:11:45 -0500

wewnikhil gravatar image

when I run catkin_make in the catkin_ws 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.

edit retag flag offensive close merge delete

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?

abhishek47 gravatar image abhishek47  ( 2021-03-30 23:37:56 -0500 )edit

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

gvdhoorn gravatar image gvdhoorn  ( 2021-03-31 03:34:09 -0500 )edit

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/<ros_distro>/setup.bash" >> ~/.bashrc source ~/.bashrc 'catkin_init_workspace' and then use catkin_make. Otherwise you need to source your workspace.

ghdh gravatar image ghdh  ( 2021-05-09 14:12:56 -0500 )edit