Ask Your Question

Install different OpenCV versions.

asked 2013-01-06 03:59:07 -0500

Bomber19 gravatar image

updated 2013-01-06 04:08:19 -0500

Hi, i would like to install another OpenCV version (my current is 2.4.2) because SURF is not rotation invariant. Will there be any problems so that after installation of the new one the current version is not working correct? Is there something to consider?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-06 06:55:26 -0500

  1. What is your operating system? On Windows you can extract archive to any folder and include different OpenCV versions in different projects without any problems. On Linux systems all 2.4.x versions of OpenCV are installed in the same folder by default, so you can get conflicts. The only solution is to get OpenCV from official size, not from distro repository, extract it to custom folder and update environment manually.

  2. Since OpenCV 2.4.2 all official versions of OpenCV are binary compatible. So you can update OpenCV up to the latest version without any code changes.

edit flag offensive delete link more


Hi. I'm working with VS2010. So i can build the new OpenCV to another folder and create a new propsheet with the specific path to the include-, lib-files,... in VS. Then it should work?

Bomber19 gravatar imageBomber19 ( 2013-01-06 07:10:37 -0500 )edit

Yes, it will work.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-01-06 07:35:09 -0500 )edit

How can I specify to pkg-config which version I want to use, and where it is installed?

arthur.sw gravatar imagearthur.sw ( 2014-01-13 03:38:57 -0500 )edit

Question Tools


Asked: 2013-01-06 03:59:07 -0500

Seen: 994 times

Last updated: Jan 06 '13