Install different OpenCV versions问题

本文解答了如何在同一系统上安装多个不同版本的OpenCV,特别是在Windows和Linux平台上的建议和注意事项,确保新旧版本之间的兼容性和互不干扰。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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?


回答:

  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.

link flag offensive

Comments

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  (18 hours ago)

Yes, it will work.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值