Ask Your Question
4

Update to OpenCV 3 without destroying everything

asked 2015-09-03 06:38:47 -0600

Mehdi. gravatar image

updated 2015-09-03 06:41:07 -0600

I really need some new functionalities available in OpenCV 3.0 but when trying to uninstall my current OpenCV, apt-get tries to delete Gazebo and ROS. How can I get rid of OpenCV 2.4 and install OpenCV 3 in a smooth transition without deleting anything else?

Using ROS Indigo on Ubuntu 14.04

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-09-04 02:28:10 -0600

VitaliyProoks gravatar image

I did not try with OpenCV 3, but successfully when I needed cuda-enabled OpenCV. Of course, you will need to build OpenCV from sources, and the small trick is to specify build target to a folder in your home path, for example, ~/.local. Then specify corresponding OpenCV version in your CMakeLists.txt and make sure cmake finds the library. I cannot guarantee this to work with OpenCV 3 but it will not break anything for sure.

edit flag offensive delete link more

Comments

Thanks, I will try this.

Mehdi. gravatar imageMehdi. ( 2015-09-15 03:23:23 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-09-03 06:38:47 -0600

Seen: 330 times

Last updated: Sep 04 '15