mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Help narrowing down a build error depending o


From: Gilles Caulier
Subject: Re: [Mingw-cross-env-list] Help narrowing down a build error depending on plattform
Date: Sat, 18 Mar 2017 14:36:47 +0100

I vote to update lensfun to last stable 0.3.2. It have been released sine a while and Lensfun team take time to release next one, as a lots of API will be broken due huge changes in core implementation. So 0.3.2 is LTS like version.

Gilles Caulier

2017-03-18 5:37 GMT+01:00 Nagaev Boris <address@hidden>:
On Sat, Mar 18, 2017 at 12:01 AM, Nagaev Boris <address@hidden> wrote:
> On Fri, Mar 17, 2017 at 5:29 PM, Simon Frei <address@hidden> wrote:
>> Hi,
>>
>> I am working on digikam, which does it's windows build with mxe. I
>> compile on debian stretch and get a spurious error, while it works just
>> fine for the lead dev Gilles on mageia. We couldn't work out what might
>> cause it.
>> As part of the whole process lensfun is built. In my case this fails due
>> to GLIB2_DLL not being set. The actual file libglib-2.0-0.dll is
>> present, it is just not picked up during configuration. For Gilles the
>> relevant output is
>>
>>     --
>>     Using:
>>     -- GLIB2 include dir:
>> /mnt/devel/GIT/5.x/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.shared/include/glib-2.0;/mnt/devel/GIT/5.x/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.shared/lib/glib-2.0/include;/mnt/devel/GIT/5.x/project/bundles/mxe/build.win32/usr/i686-w64-mingw32.shared/include
>>     -- GLIB2 library: glib-2.0;intl
>>     -- GLIB2 DLL:
>> /mnt/devel/GIT/5.x/project/bundles/mxe/build.win32/usr/i686-w64-
>>     mingw32.shared/bin/libglib-2.0-0.dll
>>     -- Configuring done
>>
>> where in my case the line about GLIB_DLL is missing (full output:
>> http://pastebin.com/39kEW80q).
>>
>> The weird thing is that we both work on clean version controlled folders
>> and AFAIK all tools involved are compiled by mxe, so I really don't
>> understand where this discrepancy comes up.
>>
>> Some additional info: The relevant makefile is
>> https://cgit.kde.org/digikam-software-compilation.git/tree/project/bundles/3rdparty/ext_lensfun/CMakeLists.txt
>> and is called by
>> https://cgit.kde.org/digikam-software-compilation.git/tree/project/bundles/mxe/01-build-mxe.sh#n173
>> The digikam issue where this came up is
>> https://bugs.kde.org/show_bug.cgi?id=374313
>>
>> I am aware this report isn't very concise, but I would really appreciate
>> it if you can come up with any ideas how to narrow this down - thanks in
>> advance.
>>
>> Cheers,
>> Simon
>>
>>
>>
>
> Hey Simon
>
> MXE has lensfun of version 0.3.0.
> It has a patch that is likely to fix this very issue with GLIB DLL:
> https://github.com/mxe/mxe/blob/9a5b34cf036fcee967b94f30ceae120e23709e42/src/lensfun-1-fixes.patch#L173
>
> Can you check that `make lensfun` works on your machine, please?
>
> Few more ideas:
>
> - update MXE's lensfun to 0.3.2
> - change digikam to use lensfun from MXE
>
> --
> Best regards,
> Boris Nagaev

I sent a pull request to update MXE's lensfun to 0.3.2
https://github.com/mxe/mxe/pull/1721
It builds including the test.
Can you check that it works in digikam, please?

--
Best regards,
Boris Nagaev



reply via email to

[Prev in Thread] Current Thread [Next in Thread]