rosmake invoking wrong ld command [closed]
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: http://stackoverflow.com/questions/31...
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.
Can you please post your
CMakeLists.txt
, and give some information about your OS, the ROS distro you use and the version ofopenCV
(seems to be 3.0). Also, you are usingrosmake
to compile and notcatkin_make
? There are several questions aboutopenCV3.0
, where there are problems with this