How to use alternative versions of OpenCV and Exiv2?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use alternative versions of OpenCV and Exiv2?

Piter Dias
Guys,

Trying to compile digiKam 4.4 under a recently built Ubuntu 14.04.1 LTS I got stuck on OpenCV and Exiv2 upgrading.

Both packages are originally installed under /usr using apt-get. Compiling new versions, using default options of both, installs under /usr/local.

digiKam cmake scripts are not able to find the newly compiled versions. Is there a way to solve this without compiling to OpenCV and Exiv2 /usr? I don't want to override original packages because most of packages I use come from Canonical repositories anyway. It seems to be easier for me.

Of course I can change my mind as a last resort by if there is another way..

Thanks a lot,


_____________________
Piter Dias


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to use alternative versions of OpenCV and Exiv2?

Gilles Caulier-4
2014-10-14 3:01 GMT+02:00 Piter Dias <[hidden email]>:

> Guys,
>
> Trying to compile digiKam 4.4 under a recently built Ubuntu 14.04.1 LTS I
> got stuck on OpenCV and Exiv2 upgrading.
>
> Both packages are originally installed under /usr using apt-get. Compiling
> new versions, using default options of both, installs under /usr/local.
>
> digiKam cmake scripts are not able to find the newly compiled versions. Is
> there a way to solve this without compiling to OpenCV and Exiv2 /usr? I
> don't want to override original packages because most of packages I use come
> from Canonical repositories anyway. It seems to be easier for me.

A system can live with both version of library installed at the same
time. It use a SO version Id to identify right files on the system.

The possible conflict will be come with devel files, as headers.

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users