ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Incorrect cmake opencv lib path leads to failed compilation

asked 2015-02-09 17:15:01 -0500

GEOFBOT gravatar image

I am trying to compile web_video_server on a raspberry pi with all the libopencv-* packages installed. Every time I try to run catkin_make_isolated, everything works fine up until make complains that the package requires /usr/local/lib/ That package is from a local build of OpenCV that has since been removed with make uninstall, and the proper path should be to an older version installed through apt-get at /usr/lib/libopencv*. How can I prevent cmake from using the old lib path of OpenCV?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-10 01:50:25 -0500

gvdhoorn gravatar image

Can you check whether /usr/local/lib/pkgconfig contains anything opencv related? Also (just to be sure): you restarted the entire build right? So rm -rf devel_isolated/ build_isolated/, then catkin_make_isolated ..?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-02-09 17:15:01 -0500

Seen: 401 times

Last updated: Feb 09 '15