Build your own darktable for Windows

Contents of folders;

image

image

The blue highlighted files are the same. .bash_profile in Bill_Martz is the one I modified during this process, so I think it should replace the one in Bill Martz. Do I need to copy .bash_history and - Copy.bash_profile into Bill Martz?

If you just copied them you likely didn’t modify them so I think you should be okay but you could take a look…again if you copied things just delete the underscore folder and go with your original one. I am sure we can tweak the script later if you want but you should be able to just run the commands line by line to get through it…

I just changed Bill Martz to Bill_Martz and mingw64 created a new Bill Martz with those files in it.

So I renamed Bill Martz and then renamed Bill_Martz to Bill Martz. Now this:

I can always start over.

EDIT: I am going to start over. Be back later.

Yes, that is what I did, just as the directions said I should do.

If you rename it there ie in the Windows Program Files dir and you specify your LUT directory in preferences it should show up…not sure what else it could be…

Yes, it’s weird. When I previously used the installer provided on the website it was working. But as i said, I don’t rely on it for any previous edits I’ve done. I was just curious of why it wasn’t showing up

I did change it and then at some point during one of the builds I installed it got overwritten so I had to change it again but as soon as I did it popped back up…they are a nice feature…maybe submit a bug report…

Maybe I should, cause the module gets built, it just doesn’t show up. Doing a new build now just to see if it was a bug in the one particular checkout I am running now…

No, still doesn’t show up. I have registered the issue on github now.

I deleted c:\msys64, rebooted, installed msys2-x86_64-20200903.exe, and then ran:

pacman -Syu

and received this error, which obviously did not happen earlier:

:: Running post-transaction hooks…
(1/1) Updating the info directory file…
0 [main] pacman (35016) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x18034B408/0x180345408.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\cygwin\bin, where ā€˜x’ is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] pacman 1364 dofork: child -1 - forked process 35016 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
error: could not fork a new process (Resource temporarily unavailable)
:: To complete this update all MSYS2 processes including this terminal will be closed. Confirm to proceed [Y/n]

EDIT: IGNORE THIS.

A search showed that I had a cygwin1.dll for another program. Further, the only cygwin directory had this in it:

C:\msys64\usr\share\cygwin\cygwin.ldif

No bin folder.

you ran this part from msys2 not mingw64 Correct??

I started over again and used the correct terminals for the various steps, and am here:

image

waiting for it to finish.

Maybe rerun this or confirm when you build it finds it??

$ pacman -S mingw-w64-x86_64-gmic

Okay you are getting there hang in…once its all set up its easy going forward

image

Had a bunch of untranslated messages. Ended this way:

Looks like I am back to spaces in directory name problem.

May be but I had this error at some point I just need to recall what fixed it…

By the end of this I think they have the fix…you may have the same issue Build fails in Windows after PR #7601 Ā· Issue #7650 Ā· darktable-org/darktable Ā· GitHub

I didn’t see a similar issue, but I am not a programmer. There was an Error 2, but it seemed to be related to something different. The message reads

ERROR Cannot find filename: Martz/darktable/data/…/po

And there is no po file or folder in data or its subfolders:

image

Just wanted to report back that I got the lut3d module working, but it was a hassle, and a weird thing alltogether. I’m just copy-pasting (more or less) the report I wrote on github here:

"I have uninstalled, removed the darktable install-directory, and reinstalled but now I get an error-message stating the application was unable to start correctly :confused:

So, I uninstalled again, deleted everything inside the build-directory, and recompiled, again… and again I got the same error-message.

Next I removed the whole darktable src directory, and did a fresh git clone, compiled packaged and installed, renamed the two libs and voila, now it works.

I find all of this very strange as I’ve had no such problems before, and I have not changed anything in any source-files.
Well, at least I have a working build again."