Building digikam locally on my system

Sambhav Dusad sambhavdusad24 at
Wed Jul 24 19:41:04 BST 2019

Thank you Gilles. It worked.

I uninstalled system version of exiv2 and built exiv2 from source.
The problem was exactly as you mentioned that cmake was detecting system
version of exiv2.

On Wed 24 Jul, 2019, 02:38 Gilles Caulier, <caulier.gilles at> wrote:

> Hi,
> Your problem is to try to use exiv2 development files in an extra
> directory when official development package is already installed on your
> system. Only one must be installed. In other word, uninstall system devel
> package and this will be better.
> Best
> Gilles Caulier
> Le lun. 22 juil. 2019 à 12:01, Sambhav Dusad <sambhavdusad24 at> a
> écrit :
>> Hello,
>> My previous laptop got bad so I had to build digikam again on a new
>> machine. While building digikam, I installed all the dependencies but exiv2
>> packages show an error.
>> I built exiv2 from source in default directory i.e. /usr/local (packages
>> and libs) but cmake always try to find exiv packages in /usr/include folder
>> rather than /usr/local. I even removed any exiv2 packages in /usr/include
>> directory.
>> Is there any way to specify cmake to find exiv2 package in /usr/local
>> directory or any other way?
>> --
>> Thanks
>> Sambhav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Digikam-devel mailing list