Build for Windows, help please

Hi Guys,
mey new camera (Sony A6400) is not yet supported in DT 2.6.2. Support has been added in git version, so I would like to compile it myself (I am on Windows).

Following the instructions, I found that
$ pacman -S lensfun
doesn’t find the lensfun package.

Any clue ?
Thanks in advance

Marco

pacman -S mingw-w64-x86_64-lensfun

Ok, thanks, that installed lensfun.

However
$ lensfun-update-data
gives command not found

If I go in
/mingw64/bin
and give the command
$ ./lensfun-update-data
I get the error message
/usr/bin/env: “python3”: No such file or directory

hmm, works here

$ lensfun-update-data
Reading http://lensfun.sourceforge.net/db/versions.json 
Reading http://wilson.bronger.org/lensfun-db/versions.json 
Successfully updated the database in C:/msys64/mingw64/var/lib/lensfun-updates/version_1.

Sorry, no idea… :frowning:

@MarcoNex Maybe
pacman -S mingw-w64-x86_64-python3
?

@MarcoNex

You wrote you followed the instructions. Why didn’t this work then (lensfun and python3 should be installed after that command)?

    Install required libraries and dependencies:
$ pacman -S mingw-w64-x86_64-{exiv2,lcms2,lensfun,dbus-glib,openexr,sqlite3,libxslt,libsoup,libwebp,libsecret,lua,graphicsmagick,openjpeg2,gtk3,pugixml,libexif,osm-gps-map,libgphoto2,flickcurl,drmingw,gettext,python3,iso-codes}

I followed the instructions.
To be 100% sure, I reinstalled MSYS2 from scratch.
When installing libraries and dependencies I get the following

$ pacman -S mingw-w64-x86_64-{exiv2,lcms2,lensfun,dbus-glib,openexr,sqlite3,libxslt,libsoup,libwebp,libsecret,lua,graphicsmagick,openjpeg2,gtk3,pugixml,libexif,osm-gps-map,libgphoto2,flickcurl,drmingw,gettext,python3,iso-codes}
warning: mingw-w64-x86_64-sqlite3-3.27.2-2 is up to date -- reinstalling
warning: mingw-w64-x86_64-gettext-0.19.8.1-7 is up to date -- reinstalling
warning: mingw-w64-x86_64-python3-3.7.2-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: mingw-w64-x86_64-harfbuzz will be installed before its mingw-w64-x86_64-freetype dependency

Packages (79) mingw-w64-x86_64-adwaita-icon-theme-3.30.1-1  mingw-w64-x86_64-atk-2.32.0-1  mingw-w64-x86_64-cairo-1.16.0-1
              mingw-w64-x86_64-dbus-1.12.12-1  mingw-w64-x86_64-fontconfig-2.13.1-1  mingw-w64-x86_64-freeglut-3.0.0-4
              mingw-w64-x86_64-freetype-2.10.0-1  mingw-w64-x86_64-fribidi-1.0.5-1  mingw-w64-x86_64-gdk-pixbuf2-2.38.1-1
              mingw-w64-x86_64-giflib-5.1.8-1  mingw-w64-x86_64-glib-networking-2.58.0-3  mingw-w64-x86_64-glib2-2.58.3-1
              mingw-w64-x86_64-gnutls-3.6.6-2  mingw-w64-x86_64-gobject-introspection-1.58.3-1
              mingw-w64-x86_64-gobject-introspection-runtime-1.58.3-1  mingw-w64-x86_64-graphite2-1.3.13-1
              mingw-w64-x86_64-gsettings-desktop-schemas-3.28.1-1  mingw-w64-x86_64-gtk2-2.24.32-3
              mingw-w64-x86_64-harfbuzz-2.4.0-1  mingw-w64-x86_64-hicolor-icon-theme-0.17-1
              mingw-w64-x86_64-ilmbase-2.3.0-1  mingw-w64-x86_64-jasper-2.0.16-1  mingw-w64-x86_64-jbigkit-2.1-4
              mingw-w64-x86_64-json-glib-1.4.4-1  mingw-w64-x86_64-libcroco-0.6.13-1  mingw-w64-x86_64-libdatrie-0.2.12-1
              mingw-w64-x86_64-libepoxy-1.5.3-2  mingw-w64-x86_64-libgcrypt-1.8.4-1  mingw-w64-x86_64-libgd-2.2.5-1
              mingw-w64-x86_64-libglade-2.6.4-5  mingw-w64-x86_64-libgpg-error-1.36-1
              mingw-w64-x86_64-libimagequant-2.12.2-1  mingw-w64-x86_64-libjpeg-turbo-2.0.2-1
              mingw-w64-x86_64-libpng-1.6.36-1  mingw-w64-x86_64-libproxy-0.4.15-2  mingw-w64-x86_64-librsvg-2.40.20-1
              mingw-w64-x86_64-libthai-0.1.28-2  mingw-w64-x86_64-libtiff-4.0.10-1  mingw-w64-x86_64-libtool-2.4.6-13
              mingw-w64-x86_64-libusb-1.0.22-1  mingw-w64-x86_64-libxml2-2.9.9-1  mingw-w64-x86_64-pango-1.43.0-2
              mingw-w64-x86_64-pcre-8.43-1  mingw-w64-x86_64-pixman-0.38.2-1  mingw-w64-x86_64-pygobject2-devel-2.28.7-1
              mingw-w64-x86_64-python2-2.7.16-1  mingw-w64-x86_64-python2-cairo-1.18.0-1
              mingw-w64-x86_64-python2-gobject2-2.28.7-1  mingw-w64-x86_64-python2-pygtk-2.24.0-6
              mingw-w64-x86_64-python3-beaker-1.10.1-1  mingw-w64-x86_64-python3-mako-1.0.8-1
              mingw-w64-x86_64-python3-markupsafe-1.1.1-1  mingw-w64-x86_64-shared-mime-info-1.12-1
              mingw-w64-x86_64-wineditline-2.205-1  mingw-w64-x86_64-xpm-nox-4.2.0-5  winpty-0.4.3-1
              mingw-w64-x86_64-dbus-glib-0.110-1  mingw-w64-x86_64-drmingw-0.9.1-1  mingw-w64-x86_64-exiv2-0.26-3
              mingw-w64-x86_64-flickcurl-1.26-2  mingw-w64-x86_64-gettext-0.19.8.1-7
              mingw-w64-x86_64-graphicsmagick-1.3.31-1  mingw-w64-x86_64-gtk3-3.24.7-1  mingw-w64-x86_64-iso-codes-4.2-1
              mingw-w64-x86_64-lcms2-2.9-1  mingw-w64-x86_64-lensfun-0.3.95-1  mingw-w64-x86_64-libexif-0.6.21-4
              mingw-w64-x86_64-libgphoto2-2.5.21-1  mingw-w64-x86_64-libsecret-0.18.8-1  mingw-w64-x86_64-libsoup-2.64.2-1
              mingw-w64-x86_64-libwebp-1.0.2-1  mingw-w64-x86_64-libxslt-1.1.33-1  mingw-w64-x86_64-lua-5.3.5-1
              mingw-w64-x86_64-openexr-2.3.0-1  mingw-w64-x86_64-openjpeg2-2.3.1-1  mingw-w64-x86_64-osm-gps-map-1.1.0-2
              mingw-w64-x86_64-pugixml-1.9-1  mingw-w64-x86_64-python3-3.7.2-2  mingw-w64-x86_64-sqlite3-3.27.2-2

Total Download Size:    83.70 MiB
Total Installed Size:  659.07 MiB
Net Upgrade Size:      526.61 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mingw-w64-x86_64-exiv2-0.26-3-any                 934.6 KiB   953K/s 00:01 [#########################################] 100%
 mingw-w64-x86_64-libjpeg-turbo-2.0.2-1-any        437.7 KiB  1963K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libtiff-4.0.10-1-any             914.1 KiB  1970K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-lcms2-2.9-1-any                  288.7 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-wineditline-2.205-1-any           52.7 KiB  1951K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-pcre-8.43-1-any                  885.1 KiB  1967K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-glib2-2.58.3-1-any                 4.3 MiB  1965K/s 00:02 [#########################################] 100%
 mingw-w64-x86_64-libpng-1.6.36-1-any              291.0 KiB  1980K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-lensfun-0.3.95-1-any             372.1 KiB  1692K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-dbus-1.12.12-1-any              1698.4 KiB  1966K/s 00:01 [#########################################] 100%
 mingw-w64-x86_64-dbus-glib-0.110-1-any            141.4 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-ilmbase-2.3.0-1-any              192.2 KiB  1982K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-openexr-2.3.0-1-any                3.2 MiB  1966K/s 00:02 [#########################################] 100%
 mingw-w64-x86_64-libxml2-2.9.9-1-any             1402.6 KiB  1967K/s 00:01 [#########################################] 100%
 mingw-w64-x86_64-libgpg-error-1.36-1-any          278.2 KiB  1973K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libgcrypt-1.8.4-1-any            613.6 KiB  1967K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libxslt-1.1.33-1-any             461.6 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gnutls-3.6.6-2-any              1881.3 KiB  1968K/s 00:01 [#########################################] 100%
 mingw-w64-x86_64-libproxy-0.4.15-2-any            112.4 KiB  2006K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gsettings-desktop-schemas-3...   543.1 KiB  1968K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-glib-networking-2.58.0-3-any     128.7 KiB  1950K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libsoup-2.64.2-1-any             640.6 KiB  1965K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-giflib-5.1.8-1-any               141.4 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libwebp-1.0.2-1-any              438.5 KiB  1975K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libsecret-0.18.8-1-any           233.6 KiB  1578K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-lua-5.3.5-1-any                  283.1 KiB  1815K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-graphite2-1.3.13-1-any           148.0 KiB  1973K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-harfbuzz-2.4.0-1-any             794.1 KiB  1966K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-freetype-2.10.0-1-any            533.9 KiB  1970K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-fontconfig-2.13.1-1-any          228.2 KiB  1967K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-jbigkit-2.1-4-any                 80.9 KiB  2022K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libtool-2.4.6-13-any             429.3 KiB  1969K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-graphicsmagick-1.3.31-1-any        2.2 MiB  1461K/s 00:02 [#########################################] 100%
 mingw-w64-x86_64-openjpeg2-2.3.1-1-any            632.1 KiB  1963K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-hicolor-icon-theme-0.17-1-any     31.5 KiB  1969K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-freeglut-3.0.0-4-any             147.0 KiB  1960K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-jasper-2.0.16-1-any              758.3 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gdk-pixbuf2-2.38.1-1-any         690.1 KiB  1966K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-pixman-0.38.2-1-any              299.2 KiB  1968K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-cairo-1.16.0-1-any               804.0 KiB  1966K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-fribidi-1.0.5-1-any               89.6 KiB  1992K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libdatrie-0.2.12-1-any           168.7 KiB  1985K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libthai-0.1.28-2-any             290.9 KiB  1965K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-pango-1.43.0-2-any               568.7 KiB  1968K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libcroco-0.6.13-1-any            171.4 KiB  1993K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-librsvg-2.40.20-1-any            193.3 KiB  1972K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-adwaita-icon-theme-3.30.1-1-any   12.9 MiB  1964K/s 00:07 [#########################################] 100%
 mingw-w64-x86_64-atk-2.32.0-1-any                 302.8 KiB  1966K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-json-glib-1.4.4-1-any            272.5 KiB  1961K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libepoxy-1.5.3-2-any             713.0 KiB  1970K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-shared-mime-info-1.12-1-any      543.4 KiB  1969K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gtk3-3.24.7-1-any                 10.5 MiB  1851K/s 00:06 [#########################################] 100%
 mingw-w64-x86_64-pugixml-1.9-1-any                141.3 KiB  1962K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libexif-0.6.21-4-any             381.7 KiB  1826K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python2-2.7.16-1-any              11.3 MiB  1955K/s 00:06 [#########################################] 100%
 mingw-w64-x86_64-gobject-introspection-runti...   275.9 KiB  1971K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-pygobject2-devel-2.28.7-1-any     31.1 KiB   723K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python2-gobject2-2.28.7-1-any    257.0 KiB  1890K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python2-cairo-1.18.0-1-any        84.7 KiB  1969K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gtk2-2.24.32-3-any                 5.2 MiB  1959K/s 00:03 [#########################################] 100%
 mingw-w64-x86_64-libglade-2.6.4-5-any             101.6 KiB  1954K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python2-pygtk-2.24.0-6-any      1611.1 KiB  1904K/s 00:01 [#########################################] 100%
 mingw-w64-x86_64-python3-markupsafe-1.1.1-1-any    44.5 KiB  1936K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python3-beaker-1.10.1-1-any      102.1 KiB  1963K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-python3-mako-1.0.8-1-any         150.5 KiB  1980K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-gobject-introspection-1.58....   896.0 KiB  1969K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-osm-gps-map-1.1.0-2-any          108.6 KiB  1598K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libimagequant-2.12.2-1-any        70.0 KiB  2001K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-xpm-nox-4.2.0-5-any               62.4 KiB  2014K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libgd-2.2.5-1-any                280.2 KiB  1973K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libusb-1.0.22-1-any              139.5 KiB  1964K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-libgphoto2-2.5.21-1-any            3.3 MiB  1937K/s 00:02 [#########################################] 100%
 mingw-w64-x86_64-flickcurl-1.26-2-any             729.6 KiB  1871K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-drmingw-0.9.1-1-any              473.4 KiB  1972K/s 00:00 [#########################################] 100%
 mingw-w64-x86_64-iso-codes-4.2-1-any                2.8 MiB  1937K/s 00:01 [#########################################] 100%
 winpty-0.4.3-1-x86_64                             500.5 KiB  1970K/s 00:00 [#########################################] 100%
(79/79) checking keys in keyring                                            [#########################################] 100%
(79/79) checking package integrity                                          [#########################################] 100%
(79/79) loading package files                                               [#########################################] 100%
(79/79) checking for file conflicts                                         [#########################################] 100%
(79/79) checking available disk space                                       [#########################################] 100%
:: Processing package changes...
( 1/79) reinstalling mingw-w64-x86_64-gettext                               [#########################################] 100%
( 2/79) installing mingw-w64-x86_64-exiv2                                   [#########################################] 100%
( 3/79) installing mingw-w64-x86_64-libjpeg-turbo                           [#########################################] 100%
( 4/79) installing mingw-w64-x86_64-libtiff                                 [#########################################] 100%
( 5/79) installing mingw-w64-x86_64-lcms2                                   [#########################################] 100%
( 6/79) installing mingw-w64-x86_64-wineditline                             [#########################################] 100%
( 7/79) installing mingw-w64-x86_64-pcre                                    [#########################################] 100%
( 8/79) reinstalling mingw-w64-x86_64-sqlite3                               [#########################################] 100%
( 9/79) reinstalling mingw-w64-x86_64-python3                               [#########################################] 100%
(10/79) installing mingw-w64-x86_64-glib2                                   [#########################################] 100%
No schema files found: doing nothing.
(11/79) installing mingw-w64-x86_64-libpng                                  [#########################################] 100%
(12/79) installing mingw-w64-x86_64-lensfun                                 [#########################################] 100%
(13/79) installing mingw-w64-x86_64-dbus                                    [#########################################] 100%
(14/79) installing mingw-w64-x86_64-dbus-glib                               [#########################################] 100%
(15/79) installing mingw-w64-x86_64-ilmbase                                 [#########################################] 100%
(16/79) installing mingw-w64-x86_64-openexr                                 [#########################################] 100%
(17/79) installing mingw-w64-x86_64-libxml2                                 [#########################################] 100%
(18/79) installing mingw-w64-x86_64-libgpg-error                            [#########################################] 100%
(19/79) installing mingw-w64-x86_64-libgcrypt                               [#########################################] 100%
(20/79) installing mingw-w64-x86_64-libxslt                                 [#########################################] 100%
(21/79) installing mingw-w64-x86_64-gnutls                                  [#########################################] 100%
(22/79) installing mingw-w64-x86_64-libproxy                                [#########################################] 100%
(23/79) installing mingw-w64-x86_64-gsettings-desktop-schemas               [#########################################] 100%
Warning: Schema ▒org.gnome.system.locale▒ has path ▒/system/locale/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy▒ has path ▒/system/proxy/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.http▒ has path ▒/system/proxy/http/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.https▒ has path ▒/system/proxy/https/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.ftp▒ has path ▒/system/proxy/ftp/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.socks▒ has path ▒/system/proxy/socks/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
(24/79) installing mingw-w64-x86_64-glib-networking                         [#########################################] 100%
(25/79) installing mingw-w64-x86_64-libsoup                                 [#########################################] 100%
(26/79) installing mingw-w64-x86_64-giflib                                  [#########################################] 100%
(27/79) installing mingw-w64-x86_64-libwebp                                 [#########################################] 100%
(28/79) installing mingw-w64-x86_64-libsecret                               [#########################################] 100%
(29/79) installing winpty                                                   [#########################################] 100%
(30/79) installing mingw-w64-x86_64-lua                                     [#########################################] 100%
(31/79) installing mingw-w64-x86_64-graphite2                               [#########################################] 100%
(32/79) installing mingw-w64-x86_64-harfbuzz                                [#########################################] 100%
Optional dependencies for mingw-w64-x86_64-harfbuzz
    mingw-w64-x86_64-icu: harfbuzz-icu support
    mingw-w64-x86_64-cairo: hb-view program [pending]
(33/79) installing mingw-w64-x86_64-freetype                                [#########################################] 100%
(34/79) installing mingw-w64-x86_64-fontconfig                              [#########################################] 100%

  Fontconfig configuration is done via /mingw64/etc/fonts/conf.avail and conf.d.
  Read /mingw64/etc/fonts/conf.d/README for more information.

updating font cache... done.
(35/79) installing mingw-w64-x86_64-jbigkit                                 [#########################################] 100%
(36/79) installing mingw-w64-x86_64-libtool                                 [#########################################] 100%
(37/79) installing mingw-w64-x86_64-graphicsmagick                          [#########################################] 100%
Optional dependencies for mingw-w64-x86_64-graphicsmagick
    mingw-w64-x86_64-ghostscript: for Ghostscript support
    mingw-w64-x86_64-libxml2: for XML support [installed]
    mingw-w64-x86_64-jasper: for JPEG-2000 support [pending]
    mingw-w64-x86_64-libpng: for PNG support [installed]
    mingw-w64-x86_64-libtiff: for PNG support [installed]
    mingw-w64-x86_64-libwebp: for WEBP support [installed]
(38/79) installing mingw-w64-x86_64-openjpeg2                               [#########################################] 100%
(39/79) installing mingw-w64-x86_64-hicolor-icon-theme                      [#########################################] 100%
(40/79) installing mingw-w64-x86_64-freeglut                                [#########################################] 100%
(41/79) installing mingw-w64-x86_64-jasper                                  [#########################################] 100%
(42/79) installing mingw-w64-x86_64-gdk-pixbuf2                             [#########################################] 100%
(43/79) installing mingw-w64-x86_64-pixman                                  [#########################################] 100%
(44/79) installing mingw-w64-x86_64-cairo                                   [#########################################] 100%
Optional dependencies for mingw-w64-x86_64-cairo
    mingw-w64-x86_64-glib2: libcairo-gobject [installed]
(45/79) installing mingw-w64-x86_64-fribidi                                 [#########################################] 100%
(46/79) installing mingw-w64-x86_64-libdatrie                               [#########################################] 100%
(47/79) installing mingw-w64-x86_64-libthai                                 [#########################################] 100%
(48/79) installing mingw-w64-x86_64-pango                                   [#########################################] 100%
(49/79) installing mingw-w64-x86_64-libcroco                                [#########################################] 100%
(50/79) installing mingw-w64-x86_64-librsvg                                 [#########################################] 100%
Optional dependencies for mingw-w64-x86_64-librsvg
    mingw-w64-x86_64-gtk3: for rsvg-view-3 [pending]
(51/79) installing mingw-w64-x86_64-adwaita-icon-theme                      [#########################################] 100%
(52/79) installing mingw-w64-x86_64-atk                                     [#########################################] 100%
(53/79) installing mingw-w64-x86_64-json-glib                               [#########################################] 100%
(54/79) installing mingw-w64-x86_64-libepoxy                                [#########################################] 100%
(55/79) installing mingw-w64-x86_64-shared-mime-info                        [#########################################] 100%
(56/79) installing mingw-w64-x86_64-gtk3                                    [#########################################] 100%
Warning: Schema ▒org.gnome.system.locale▒ has path ▒/system/locale/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy▒ has path ▒/system/proxy/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.http▒ has path ▒/system/proxy/http/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.https▒ has path ▒/system/proxy/https/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.ftp▒ has path ▒/system/proxy/ftp/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
Warning: Schema ▒org.gnome.system.proxy.socks▒ has path ▒/system/proxy/socks/▒.  Paths starting with ▒/apps/▒, ▒/desktop/▒ or ▒/system/▒ are deprecated.
(57/79) installing mingw-w64-x86_64-pugixml                                 [#########################################] 100%
(58/79) installing mingw-w64-x86_64-libexif                                 [#########################################] 100%
(59/79) installing mingw-w64-x86_64-python2                                 [#########################################] 100%
(60/79) installing mingw-w64-x86_64-gobject-introspection-runtime           [#########################################] 100%
(61/79) installing mingw-w64-x86_64-pygobject2-devel                        [#########################################] 100%
(62/79) installing mingw-w64-x86_64-python2-gobject2                        [#########################################] 100%
(63/79) installing mingw-w64-x86_64-python2-cairo                           [#########################################] 100%
(64/79) installing mingw-w64-x86_64-gtk2                                    [#########################################] 100%
(65/79) installing mingw-w64-x86_64-libglade                                [#########################################] 100%
Optional dependencies for mingw-w64-x86_64-libglade
    mingw-w64-x86_64-python2: libglade-convert script [installed]
(66/79) installing mingw-w64-x86_64-python2-pygtk                           [#########################################] 100%
(67/79) installing mingw-w64-x86_64-python3-markupsafe                      [#########################################] 100%
(68/79) installing mingw-w64-x86_64-python3-beaker                          [#########################################] 100%
(69/79) installing mingw-w64-x86_64-python3-mako                            [#########################################] 100%
/
(70/79) installing mingw-w64-x86_64-gobject-introspection                   [#########################################] 100%
(71/79) installing mingw-w64-x86_64-osm-gps-map                             [#########################################] 100%
(72/79) installing mingw-w64-x86_64-libimagequant                           [#########################################] 100%
(73/79) installing mingw-w64-x86_64-xpm-nox                                 [#########################################] 100%
(74/79) installing mingw-w64-x86_64-libgd                                   [#########################################] 100%
(75/79) installing mingw-w64-x86_64-libusb                                  [#########################################] 100%
(76/79) installing mingw-w64-x86_64-libgphoto2                              [#########################################] 100%
(77/79) installing mingw-w64-x86_64-flickcurl                               [#########################################] 100%
(78/79) installing mingw-w64-x86_64-drmingw                                 [#########################################] 100%
(79/79) installing mingw-w64-x86_64-iso-codes                               [#########################################] 100%

There are some warnings, but I don’t know if they are relevant.
However, it still doesn’t find the command

$ lensfun-update-data
bash: lensfun-update-data: command not found

:thinking:

It could be the same problem I solved hereunder. Lensfun doesn’t copy the update files in the right python3 folder.

from http://rawpedia.rawtherapee.com/Windows:

 Updating Lensfun data base

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 in Mingw32 or Mingw64 shell:

$ lensfun-update-data

Here <version> should be 3.7

For some reason, /mingw64/bin is not in the PATH.

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/

Added with

export PATH=$PATH:/mingw64/bin

and now lensfun updated successfully

$ lensfun-update-data
Reading http://lensfun.sourceforge.net/db/versions.json ▒
Reading http://wilson.bronger.org/lensfun-db/versions.json ▒
Successfully updated the database in C:/msys64/mingw64/var/lib/lensfun-updates/version_2.

Do you use a msys2 shell or a mingw64 shell?
/mingw64/bin is automatically included in PATH in the second case.
Allways use a mingw64 shell for application building and for lensfun update (as I indicated in above post)

Yes, you’re right, didn’t think about that.
Build instructions do not say anything about which shell to use.
I also had to fix lensfun as you suggested.

Finally, I managed to build Darktable.

Thanks a lot !

The current lensfun in the MSYS2 depo has been built with the previous Python, hence it does not work with Python 3.7. Should be rebuilt…
I’ll add to the build.txt that one should use the MSYS2 shell to install packages and MINGW64 shell to build darktable, sorry if that is missing.

Hello MarcoNex,
I am not smart enought to do it by myself but
can I ask you to share your darktable for windows built?
Thanks in advance.

Here it is
https://drive.google.com/open?id=1b8L1I5r9IXCr43B3oQoJ1m4NS_Yb7y1K

I can’t guarantee it will work for you.
If you have a previous version of DT, make sure you backup your darktable folder in APPDATA
I had instability issues when converting a database from 2.6, while a fresh, clean install was OK-ish.
Look & Feel is not 100% good as I didn’t figure out how to install roboto fonts in MSYS2.

So, use it at your own risk.
Marco

1 Like

Isn’t it sufficient to install the required fonts in Windows and then select it in the application?
That’s how it works in Rawtherapee.
To install a font, double click on it and select install.

Thank you for sharing the build. It works successfully for me.
I have no problem with roboto font just installed it to Windows 10.

@surfermc
Where did you download the roboto font from ?
How did you configure DT to use roboto ? I could find any way to set the GUI font in the preferences.

Link posted on FB page Dropbox - File Deleted

Works for me on Win10

I followed the instructions here https://www.reddit.com/r/Windows10/comments/605etm/how_do_i_install_roboto_properly/ . They seem to make it no obvious to download. Once downloaded extract from the ,zip and install like other fonts.
To use the font you need to change the theme to “darktable-elegant” at the top of the GUI Options.

Thanks a lot indeed!
Just tested on Windows 10 (home edition).
No crash whatsoever so far! :slight_smile:
Here is the screenshot (darktable-elegant theme):