Hi,
Following https://husarion.com/tutorials/ros-tutorials/6-slam-navigation/#publishing-transformation, After i run this command, catkin_make, i get the following error:
husarion@husarion:~/ros_workspace$ catkin_make
Base path: /home/husarion/ros_workspace
Source space: /home/husarion/ros_workspace/src
Build space: /home/husarion/ros_workspace/build
Devel space: /home/husarion/ros_workspace/devel
Install space: /home/husarion/ros_workspace/install
Running command: “make cmake_check_build_system” in “/home/husarion/ros_workspace/build”
– Using CATKIN_DEVEL_PREFIX: /home/husarion/ros_workspace/devel
– Using CMAKE_PREFIX_PATH: /home/husarion/ros_workspace/devel;/opt/ros/kinetic
– This workspace overlays: /home/husarion/ros_workspace/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/husarion/ros_workspace/build/test_results
– Found gmock sources under ‘/usr/src/gmock’: gmock will be built
– Found gtest sources under ‘/usr/src/gmock’: gtests will be built
– Using Python nosetests: /usr/bin/nosetests-2.7
– catkin 0.7.18
– BUILD_SHARED_LIBS is on
– BUILD_SHARED_LIBS is on
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– ~~ traversing 5 packages in topological order:
– ~~ - rosbot_ekf
– ~~ - tutorial_pkg
– ~~ - rosbot_navigation
– ~~ - rosbot_description
– ~~ - rosbot_gazebo
– ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
– +++ processing catkin package: ‘rosbot_ekf’
– ==> add_subdirectory(rosbot_ekf)
– Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
– rosbot_ekf: 1 messages, 1 services
– +++ processing catkin package: ‘tutorial_pkg’
– ==> add_subdirectory(tutorial_pkg)
– Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at tutorial_pkg/CMakeLists.txt:147 (target_link_libraries):
Cannot specify link libraries for target “drive_controller_node” which is
not built by this project.
– Configuring incomplete, errors occurred!
See also “/home/husarion/ros_workspace/build/CMakeFiles/CMakeOutput.log”.
See also “/home/husarion/ros_workspace/build/CMakeFiles/CMakeError.log”.
Makefile:1270: recipe for target ‘cmake_check_build_system’ failed
make: *** [cmake_check_build_system] Error 1
Invoking “make cmake_check_build_system” failed
husarion@husarion:~/ros_workspace$ ^C