What do I need and how complicated is to build DT?

@afre
Cannot reproduce here on W10:
I download the installer from the link above, Install DT and run DT. DT windows open. I can edit a photo.

@MStraeten

  • first issue (to be done once)

As 0.3.95 is not a stable version ( why was it included in MSYS2?), I downgraded it

downgrade LENSFUN to:

mingw-w64-x86_64-lensfun-0.3.2-4-any.pkg.tar.xz

If not present in <MSYS2>\var\cache\pacman\pkg, these files can be downloaded from: Index of /mingw/x86_64/

Then in the MSYS2 shell,:

Pacman -U <path-to-files>/mingw-w64-x86_64-lensfun-0.3.2-4-any.pkg.tar.xz

Add following to the file <MSYS2>\etc\pacman.conf to prevent pacman from updating the packages.

# Pacman won’t upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = mingw-w64-x86_64-lensfun

  • second issue: To update the LENSFUN DB, as you have MSYS2 installed, before building

Copy the lensfun folder and lensfun-0.3.2-py3.6.egg-info file from <mingw32|mingw64>\lib\python3.6\site-packages to <mingw32|mingw64>\lib\python3.<version>\site-packages

Where <vesion> is the version of installed Python3.

Then before building in Mingw32 or Mingw64 shell:

$ lensfun-update-data

  • When you build an application, allways use the MINGW64 shell and not the MSYS2 shell