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: Nagaev Boris
Subject: Re: [Mingw-cross-env-list] Help narrowing down a build error depending on plattform
Date: Sat, 18 Mar 2017 00:01:52 +0000

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



reply via email to

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