Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't build with catkin_make #1

Open
dorianclay opened this issue Aug 21, 2018 · 1 comment
Open

Won't build with catkin_make #1

dorianclay opened this issue Aug 21, 2018 · 1 comment

Comments

@dorianclay
Copy link

The canros package was failing to build on my device with the README-recommended $ catkin build, which was not a command. Thus, I had to resort to $ catkin_make. However, this didn't work either. Here's what I did:

Cloned directory according to README:

$ cd ~/catkin_ws/src
$ git clone https://github.com/MonashUAS/canros

The standard $ catkin build returned:

catkin: command not found

So, I did:

$ cd ~/catkin_ws
$ catkin_make --force-cmake

However, there was a CMake error:

add_message_files() directory not found:
/home/USER/catkin_ws/src/canros/msg

So, I made a /msg directory:

$ mkdir ~/catkin_ws/src/canros/msg

Running the same catkin_make command again returned another error. This time:

add_service_files() directory not found:
/home/USER/catkin_ws/src/canros/srv

This time I made a /srv directory:

$ mkdir ~/catkin_ws/src/canros/srv

Then it built.

@JamesStewy
Copy link
Collaborator

$ catkin build, which was not a command

catkin build is a part of catkin tools (installation instructions).

I would prefer to keep canros using catkin-tools rather than catkin_make as imo it is much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants