IC ...

After I update, the lensfun is get update to version 0.2.7-2.
This version moved the lensfun.h from /usr/include/lensfun.h to
/usr/include/lensfun/lensfun.h

yano@earth:~$ dpkg -L liblensfun-dev
/.
/usr
/usr/include
/usr/include/lensfun
/usr/include/lensfun/lensfun.h

So I can simply set my C_INCLUDE_PATH as:
$ export C_INCLUDE_PATH=/usr/include/lensfun

And that solve the problem, without having to modify the code.

Question is, when will make a change to the code to reflect the change in
the lensfun lib?
Just wonder.

Thanks :)
:tom:


On Fri, May 17, 2013 at 11:15 PM, Anocha yimsiriwattana <[email protected]>wrote:

> funny, I found this
>
> root@earth:/# find . -name "lensfun.h"
> ./usr/include/lensfun/lensfun.h
> ...
>
> So I change the line in iop/lens.h,
> from:
>
> -#include <lensfun.h>
> +#include <lensfun/lensfun.h>
>
> My guess is, last update of lensfun lib moved the include file location.
>
> Now, I solve my problem. What should I do about it?
>
> :tom:
>
>
> On Fri, May 17, 2013 at 11:02 PM, Anocha yimsiriwattana 
> <[email protected]>wrote:
>
>> Hi,
>>
>> I got this error when I try to build both git/master and 1.2.x
>>
>> --------------
>> In file included from /home/yano/darktable/src/iop/lens.c:40:0:
>> /home/yano/darktable/src/iop/lens.h:23:21: fatal error: lensfun.h: No
>> such file or directory
>> compilation terminated.
>> --------------
>>
>> I check for the dev.
>> ----------------
>> yano@earth:~$ aptitude search lensfun
>> p   gimp-lensfun                    - Gimp plugin to correct lens
>> distortion usi
>> i A liblensfun-data                 - Lens Correction library - Data
>>
>> i   liblensfun-dev                  - Lens Correction library -
>> Development file
>> p   liblensfun-doc                  - Lens Correction library -
>> Documentation
>> i A liblensfun0                     - Lens Correction library - Runtime
>> files
>>
>> My system is debian, sid. I got this error after did "apt-get
>> dist-upgrade".
>>
>> Any suggestion?
>> Thanks for your help.
>>
>> :tom:
>>
>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to