Robotics StackExchange | Archived questions

How to install cv_bridge without OpenCV on Ubuntu 16?

I would like to run the code in OpenCV4Tegra with Jetson TX2 not in ros-kinetic-opencv. So I would like to install cv_bridge without OpenCV.

when used command : sudo apt-get install ros-kinetic-cv-bridge , it installed with opencv.

please help me or any suggestions?

Asked by Redhwan on 2019-10-11 02:03:08 UTC

Comments

You can't (well, you can, but you don't want to do that).

What you should do is build cv_bridge and related packages from source against your version of OpenCV.

I believe there are quite a few Q&As on this site that go into some detail.

Asked by gvdhoorn on 2019-10-11 03:35:58 UTC

Yeah, I have to build cv_bridge

Asked by Redhwan on 2019-10-11 03:59:39 UTC

@gvdhoorn, I found some Q&As about cv_bridge and I achieved to build it but get another issue here

Asked by Redhwan on 2019-10-15 02:29:05 UTC

From you SO post:

I removed ros-kinetic-opencv3 by: sudo apt remove ros-kinetic-opencv3

if you do that, apt will also remove all dependencies of ros-kinetic-opencv3, which likely includes the openni packages.

That's why I wrote in my earlier comment:

you should do is build cv_bridge** and related packages from source**

You'll probably have to build openni_launch from source as well.

PS: I'm not too happy about quoting a StackOverflow post. It's perhaps better to post such questions on ROS Answers.

Asked by gvdhoorn on 2019-10-15 03:33:12 UTC

sorry, Q&As was unavailable for me from yesterday to before a few hours. So, I wrote there.

I don't know why? South Korea

Asked by Redhwan on 2019-10-15 04:00:41 UTC

See Answers is down (502s), but status page doesn't reflect it.

Asked by gvdhoorn on 2019-10-15 05:07:44 UTC

it seems that the issue was globally

Asked by Redhwan on 2019-10-15 06:14:43 UTC

Answers