Comments (7)
Which Ubuntu/ROS distributions and branch of marti_common are you using? Check to make sure your git branches match your ROS distro.
ROS Hydro provided opencv2 as a ROS dependency, but as of Indigo it was removed and now it's preferred to depend on the system dependency libopencv-dev. So, if you're using Hydro, try:
sudo apt-get install ros-hydro-opencv2
But if you're on Indigo, try:
sudo apt-get install libopencv-dev
from mapviz.
I am using Ubuntu Description: Ubuntu 14.04.3 LTS Release: 14.04
with ROS indigo. I ran the sudo apt-get install libopencv-dev and it said that it is already installed. The branch I am using is ref: refs/heads/indigo-devel
from mapviz.
It looks like the symbols the compiler is looking for should be defined in /usr/include/opencv2/ml/ml.hpp . Check to see if you have that file, and if you don't, try:
libopencv-ml-dev
from mapviz.
I have the file in /usr/include/opencv2/ml/ml.hpp and libopencv-ml-dev is installed. Do I need to set the rosversion opencv2 so it can find the directory?
from mapviz.
I don't think so, I've been able to compile it on multiple different computers without doing that. I suspect that there might be an issue somewhere with a missing transitive dependency due to something I have in my workspace that isn't in yours.
Just to verify -- do you have the mapviz, marti_common, and marti_messages repositories all in your workspace? Are all of them on the indigo-devel branch?
from mapviz.
@pjreed, @droter, It appears mapviz is building correctly on the ROS servers here. If there were a dependency issue, it is almost always caught there.
I've found that the package manager can mess things up sometimes. One thing to try is to remove/install something that you know uses the openCV dependency. You could try cv_bridge
or if you want the nuclear option, remove/install ros-indigo*
. This seems extreme, but it doesn't take too long and it has fixed similar problems in the past for me.
from mapviz.
Thanks for your help.
There must be a conflict on my computer. I installed the package on a clean install and it work perfect.
from mapviz.
Related Issues (20)
- Display ROS2 build status HOT 1
- Error while adding navsat
- String message's configuration is reset when re launch mapviz HOT 5
- Stamen (terrain) not showing anything and no errors HOT 1
- Plot Google Maps in RVIZ HOT 3
- Unable to see fix messages HOT 2
- Tile map didn't show tile maps?
- remote rosmaster via Husarnet: Tile map only shows map when mapviz is initialised before the first NavSatFix message HOT 1
- Add duplicate and rename buttons to plugin panel
- Add plugin control keyboard shortcuts
- Update Min/Max values when Auto is triggered For Pointcloud plugin
- Missing GLUT HOT 1
- Not able to launch mapviz
- mapviz ros-foxy not display any map HOT 1
- mapviz on ros2 iron not show the map [SOLVED] HOT 1
- Which plugin/companion project for scalable offline multi resolution maps in MapViz?
- multires_image wont display more than one level
- [ROS2] Add ability to change QoS settings for plugin subscribers HOT 2
- Visualize NavSatFix message
- Mapviz on ROS Noetic HOT 1
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 mapviz.