Robotics StackExchange | Archived questions

catkin_make: Invoking "Charlotte-master -j4 -l4" failed

I'm using ROS Noteic on WSL2 with Ubuntu 20. I'm trying to run a package but after using catkin_make I keep getting this error

catkin_make Charlotte-master
Base path: /home/pranav/catkin_ws
Source space: /home/pranav/catkin_ws/src
Build space: /home/pranav/catkin_ws/build
Devel space: /home/pranav/catkin_ws/devel
Install space: /home/pranav/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/pranav/catkin_ws/build"
####
####
#### Running command: "make Charlotte-master -j4 -l4" in "/home/pranav/catkin_ws/build"
####
make: *** No rule to make target 'Charlotte-master'.  Stop.
Invoking "make Charlotte-master -j4 -l4" failed

Asked by pranav_jain on 2020-11-19 07:40:56 UTC

Comments

Answers

Charlotte-master is the name of the package, right? If so, it looks like you should use catkin_make --pkg Charlotte-master.

Asked by miura on 2020-11-20 06:50:31 UTC

Comments

I tried what you said but it's not working. it says "package not found" I've downloaded this Charlotte-master from github as a reference to a project I'm working on. I'm completely new to this ROS

Asked by pranav_jain on 2020-11-20 08:04:54 UTC

In CMakeLists.txt, you'll find a line called project(XXXX). That, XXXX, is the name of the package. Try catkin_make --pkg XXXX. ( I don't know Charlotte-master. )

Asked by miura on 2020-11-20 22:16:12 UTC