Comments (3)
rospack asks the underlying packages for their exported libraries. Either my_library or one of it's dependencies are using the older version and exporting the linker flags. If you are using any package from the binary installation and it uses the Opencv, it will require 2.4.8 since that's what it's compiled against. You need to find any package using opencv and make sure that it also finds 2.4.9 as well.
from rospack.
@tfoote
Thanks for responding.
relevant contents of my manifest.xml are:
<package>
<description brief="my_package">
my_package
</description>
<depend package="roscpp"/>
<depend package="tf"/>
<depend package="sensor_msgs"/>
<!-- <depend package="opencv2"/> -->
<depend package="image_transport"/>
<depend package="cv_bridge/>
</package>
You are right in that cv_bridge is the package brining in the opencv2.4.8 libs as revealed by:
rospack libs-only-l cv_bridge
(Since I'm using ros-indigo, I commented out the dependency on opencv2)
For now, I deleted the opencv2.4.8 libs from /usr/lib/x86_64-linux-gnu/
, and replaced them with symlinks to the opencv2.4.9 ones in /usr/loca/lib/
. Is there a better way to make sure that /opt/ros/indigo/lib/libcv_bridge.so
finds opencv2.4.9?
from rospack.
The correct way to fix this is to recompile all packages using opencv from source with 2.4.9 on your path such that their CMake configuration stage finds the newer version. You cannot use the precompiled binary packages. The symlinking is fragile and relies on 2.4.8 and 2.4.9 being ABI compatible. And may break any other system actually using/relying on 2.4.8.
Since this isn't a rospack issue. I'm going to close this. If you need more help please ask on http://answers.ros.org
from rospack.
Related Issues (20)
- Avoid Python linkage? HOT 6
- Calling "mkstemp" without securely setting umask first HOT 5
- Coverity - code unreachable HOT 1
- Coverity - TOCTOU time-of-check, time-of-use race condition HOT 2
- rospack depends should list all (un)resolved dependencies when it exits with non-zero HOT 10
- rospack cache files created with 000 permissions HOT 6
- Depends incorrectly fails for 'non-existant' package libuvc HOT 4
- rospack depends on rosdep HOT 5
- popen problem on qnx HOT 6
- TinyXML(2) might cause problems with the XSD schema now often attached due to the new package format (V2) HOT 26
- Require specific versions of tinyxml2 HOT 5
- New release? HOT 1
- New release for kinetic HOT 4
- $rospack find throws exception error HOT 4
- 'boost/tr1/unordered_set.hpp' file not found HOT 6
- "Unsupported Pickle Protocol: 4" when calling rospack depends returning HOT 1
- ../
- Kinetic release with #97 included (ros_environment dep) HOT 2
- rospack depend does not resolve distribution dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rospack.