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

Vanilla aproach not working (for me) #171

Open
arnwik opened this issue May 4, 2018 · 1 comment
Open

Vanilla aproach not working (for me) #171

arnwik opened this issue May 4, 2018 · 1 comment

Comments

@arnwik
Copy link

arnwik commented May 4, 2018

Hi,

this is probably a noob error from my side but I am stuck and hoping for some help.
I did the vanilla installation of ROS and did the beginner_tutorial.
Then I came to this site to install rovio.
I follow this approach (I am running kinetic) #160
but I have issues running the "catkin build rovio" command:
Here's the output:
image

The issue probably that I have not created a package for rovio, but if I create the package before I clone rovio from git I get one issue, and if I create the rovio package after I clone rovio from git I get another issue.
By the way; I create the package this way: user@user-Virtualbox:~catkin_ws/src$ catkin_create_pkg rovio std_msgs rospy rpscpp

Best regards
Arne

@ZacharyTaylor
Copy link
Contributor

Your catkin workspace is a bit messed up. You seem to have created a catkin workspace inside the rovio package. For reference when I run catkin build I get:

z@z-work:~/catkin_ws/src$ catkin build rovio

Profile: default
Extending: [explicit] /opt/ros/kinetic
Workspace: /home/z/catkin_ws

Source Space: [exists] /home/z/catkin_ws/src
Log Space: [exists] /home/z/catkin_ws/logs
Build Space: [exists] /home/z/catkin_ws/build
Devel Space: [exists] /home/z/catkin_ws/devel
Install Space: [unused] /home/z/catkin_ws/install
DESTDIR: [unused] None

Devel Space Layout: merged
Install Space Layout: None

Additional CMake Args: -DCMAKE_BUILD_TYPE=Release
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False

Whitelisted Packages: None
Blacklisted Packages: None

Workspace configuration appears valid.

Note that the source space etc doesn't go into the rovio folder.
If you only have the rovio package in your workspace it might be easiest just to start clean. Delete catkin_ws and set it up again by going:

source /opt/ros/kinetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws
catkin init
catkin config --extend /opt/ros/kinetic
catkin config --merge-devel # this is important, otherwise you may get weird linking errors
cd src
git clone https://github.com/ethz-asl/rovio.git
git clone https://github.com/ethz-asl/kindr.git #needed dep
cd rovio
git submodule update --init --recursive
catkin build rovio

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