Instructions to Build for Windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Instructions to Build for Windows

mdhi81+c1fysn6wathvg
Anyone have some complete instructions on how to build DigiKam for Windows?  I was able to successfully build the software for Ubuntu, but I primarily use Windows and have been unable to figure out how to build it for this platform.  I didn't see any recent documentation for the process.





----
Sent using Guerrillamail.com
Block or report abuse: https://www.guerrillamail.com//abuse/?a=RUhzDAYBTvkRjRix%2FF4UdhGJQtiX


Reply | Threaded
Open this post in threaded view
|

Re: Instructions to Build for Windows

Gilles Caulier-4
Hi,

build for Windows is done under Linux using cross compiler MXE (Mingw based)

https://mxe.cc/

All is explained here :

https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/mxe

To resume : you don't need Windows at all to build digikam for Windows.

Best

Gilles Caulier

Le mer. 23 sept. 2020 à 22:08,
<[hidden email]> a écrit :

>
> Anyone have some complete instructions on how to build DigiKam for Windows?  I was able to successfully build the software for Ubuntu, but I primarily use Windows and have been unable to figure out how to build it for this platform.  I didn't see any recent documentation for the process.
>
>
>
>
>
> ----
> Sent using Guerrillamail.com
> Block or report abuse: https://www.guerrillamail.com//abuse/?a=RUhzDAYBTvkRjRix%2FF4UdhGJQtiX
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Instructions to Build for Windows

mdwdx5+6ututqxw0b6tw
In reply to this post by mdhi81+c1fysn6wathvg
Thanks for this.  I got started and ran into an error with the first script 01-build-mxe.sh

It failed trying to build ext_drmingw.  Appears it was trying to use the 64bit compiler (which was not found) when everything else was setup to use the 32bit compiler.  Just for fun, commented out the line that built ext_drmingw and continued on.

I ended up with a failure in the third script 03-build-digikam.sh.  This time failed to build ext_exiv2 with essentially the same type of error (couldn't find 64bit compiler).

In congif.sh, the MXE_ARCHBITS is set to 32 (MXE_ARCHBITS=32 so I assume everything should be building for and using the 32bit compiler.

Am I missing something?





>Hi,
>
>build for Windows is done under Linux using cross compiler MXE (Mingw based)
>
>https://mxe.cc/
>
>All is explained here :
>
>https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/mxe
>
>To resume : you don't need Windows at all to build digikam for Windows.
>
>Best
>
>Gilles Caulier





----
Sent using Guerrillamail.com
Block or report abuse: https://www.guerrillamail.com//abuse/?a=RUhzDAYBTvkRjRix%2FF4UdhGJQtiX