rosmake invoking wrong ld command [closed]

asked 2015-08-11 08:47:18 -0600

nnnnnnils gravatar image

updated 2015-08-12 09:36:08 -0600

I'm getting an error message ld: library not found for -l:/usr/local/lib/libopencv_xphoto.3.0.0.dylib

The proper command would be either -L/usr/local/lib/libopencv_xphoto.3.0.0.dylib or -lopencv_xphoto.3.0.0.dylib according to these folks at stackoverflow:

Anybody know where I can go to correct this? The CMakeLists.txt doesn't even look for OpenCV.

Edit: Here my is my CMakeLists.txt

I am using ROS Indigo on OS X 10.10.4. I am using rosmake because that is what the instructions for tum_vision/lsd_slam say Interestingly, I had no intention of using OpenCV 3.0 with this, I have a brew installed OpenCV2.4 on my computer that I figured would be the one used. But I also have OpenCV 3.0 which I installed manually.

edit2: Wow, I just realized there is a catkin-mac branch available in tum-vision's repo. This should be interesting. They should probably note this in their readme.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-09-14 14:32:04.654184


Can you please post your CMakeLists.txt, and give some information about your OS, the ROS distro you use and the version of openCV (seems to be 3.0). Also, you are using rosmake to compile and not catkin_make? There are several questions about openCV3.0, where there are problems with this

mgruhler gravatar image mgruhler  ( 2015-08-12 01:36:02 -0600 )edit