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

Compilation error on catkin build #23

Closed
lokijota opened this issue Apr 4, 2017 · 3 comments
Closed

Compilation error on catkin build #23

lokijota opened this issue Apr 4, 2017 · 3 comments

Comments

@lokijota
Copy link

lokijota commented Apr 4, 2017

I'm getting this on Ubuntu 14.04, with gcc 4.9:

Starting >>> davis_ros_driver


Errors << davis_ros_driver:make /home/mg/logs/davis_ros_driver/build.make.000.log
make[2]: *** No rule to make target /home/mg/devel/.private/davis_ros_driver/lib/libcaer.so', needed by /home/mg/devel/.private/davis_ros_driver/lib/davis_ros_driver/davis_ros_driver'. Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/davis_ros_driver.dir/all] Error 2
make: *** [all] Error 2
cd /home/mg/build/davis_ros_driver; catkin build --get-env davis_ros_driver | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
...............................................................................
Failed << davis_ros_driver:make [ Exited with code 2 ]

ANy ideas? newbie into all of this, a bit lost.

@luccide
Copy link

luccide commented Apr 18, 2017

I have the same problem, which i can solve by pointing the cmake file at the libcaer.so directly. but after doing this i seem to have the davis driver crash whenever i try to run it.

@eliasm
Copy link
Contributor

eliasm commented Apr 18, 2017

We are currently looking into this issue. Can you try to run catkin config --merge-devel before catkin build and see whether that resolves the issue?

@eliasm eliasm mentioned this issue Apr 18, 2017
@luccide
Copy link

luccide commented Apr 19, 2017

Thanks elisam,
using catkin config --merge-devel prevented catkin build from working with the error

"Error: The current devel space layout, linked,is incompatible with the configured layout, merged."

However when built with catkin_make everything works perfectly now.

Thanks

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

3 participants