Build for Windows, help please

#9

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.

0 Likes

#10

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)

0 Likes

#11

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 !

0 Likes

#12

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.

0 Likes

#13

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.

0 Likes

#14

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

#15

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.

0 Likes

#16

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

0 Likes

#17

@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.

0 Likes

(Todd Prior) #18

Link posted on FB page https://www.dropbox.com/s/95j54ql5qh5t6qb/darktable-2.7.0%2B1019~g08e9290cd-dirty-win64.exe?dl=0

Works for me on Win10

0 Likes

#19

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.

0 Likes

(Silvio) #20

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):

0 Likes

#21

@MarcoNex Thank you for the build!!

0 Likes

(Todd Prior) #22

Update this one works on my PC with Windows 10 Home…tried on my other PC that is Win10 Pro and it does not work…could also be completely unrelated I get an app failed to open 0xc0000142 error…

0 Likes

#23

I found that some items were missing in the build process (instructions are not very clear…).
I will post an updated build soon, be patient
Marco

0 Likes

#24

Here is a new build, fixed some missing components.
it looks much more stable, at least for me.

To fully enjoy the new GUI:

  • from Google, install the Roboto font family, including Roboto Condensed
  • in C:\Program Files\darktable\share\darktable\themes, replace the file darktable-elegant.css with this one
  • in Darktable preferences, select the theme Darktable Elegant

Please backup your old darktable folder in APPDATA before trying a potentially unstable version.
I won’t take the blame if you don’t :wink:

Marco

1 Like

#25

Once again thanks for the build.
I will need to start looking at the css to change it to my liking. Not sure Roboto font is to my liking, but that is it great thing about the change to a css theme.

0 Likes

(Todd Prior) #26

Thanks for this Marco…looks like OPENCL is crashing it from what I can see in the error logs…I will see if it can be run with that disabled…

0 Likes

#27

OpenCL seems to work for me.
Does DT crash at startup or later ? Did you use the last build ?

0 Likes

(Todd Prior) #28

Ya I now get unhandled exception at startup…what version of Windows are you running?? Here is the back trace I get…darktable_bt_6NQI0Z.txt (4.7 KB)

0 Likes