[Digikam-devel] kipi-plugins doesn't find my opencv

sean darcy seandarcy2 at gmail.com
Sun Jul 25 17:16:29 BST 2010


On 07/25/2010 10:25 AM, Johannes Wienke wrote:
> Am 25.07.2010 15:38 schrieb sean darcy:
>> On 07/25/2010 05:58 AM, Johannes Wienke wrote:
>>> Am 25.07.2010 06:58 schrieb sean darcy:
>>>> Building trunk on Fedora 13:
>>>>
>>>> --  libopencv library found.................. NO  (optional)
>>>> ........
>>>> --  RemoveRedEyes will be compiled........... NO  (optional - Look
>>>> README file for more details about dependencies)
>>>>
>>>>
>>>> But:
>>>>
>>>> rpm -qa | grep opencv
>>>> opencv-devel-2.0.0-7.fc13.x86_64
>>>> opencv-2.0.0-7.fc13.x86_64
>>>>
>>>> And
>>>>
>>>> /usr/lib64/pkgconfig/opencv.pc
>>>
>>> Is this folder in the environment variable PKG_CONFIG_PATH?
>>
>> Yes
>>
>> + echo $PKG_CONFIG_PATH
>> /usr/lib64/pkgconfig:/usr/share/pkgconfig
>
> Can you paste the contents of the opencv.pc file?
>
>> FWIW, I am getting a number of warnings about pkgconfig:
>>
>> -- Check Kexiv2 library using pkg-config...
>> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
>> ........
>> -- Check Kdcraw library using pkg-config...
>> -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
>
> These warnings are "ok". The kde-provided cmake command used for finding
> libraries uses and old pkf-config wrapper of cmake for backwards
> compatibility.
>
> Regards,
> Johannes
>

Sure:

cat /usr/lib64/pkgconfig/opencv.pc
# Package Information for pkg-config

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include/opencv

Name: OpenCV
Description: Intel(R) Open Source Computer Vision Library
Version: 2.0.0
Libs: -L${libdir} -lcxcore -lcv -lhighgui -lcvaux -lml
Cflags: -I${includedir}

sean






More information about the Digikam-devel mailing list