Lot of topics going through each other now.
You are building a version from the current gl_version_v4 branch, which isn’t in main darktable yet.
So as I see it, you are temporarily making a custom build for one certain feature. The moment that feature gets accepted into Darktable, you should switch to using normal Darktable builds again (otherwise you would miss stuff as pointed out).
Maybe also good to point out that there are builds around for Windows with this code alreadyt in it. You don’t have to build yourself. Maybe safes you the hassle. If you want to learn, then bite through it .
Now, as you start a mingw64 session, you end up in your homefolder.
If you do the commands as I said
rm -rf darktable
git clone https://github.com/jenshannoschwalm/darktable.git
cd darktable
git checkout gl_recovery_v4
pwd
you get a ‘darktable’ folder in that home folder, and you ‘cd’ into the new darktable folder.
The ‘pwd’ command will show you what the current directory is.
You can then start doing the build commands (starting with a git submodule init
), since you are already in the darktable folder.
If you want to stop and continue later, you need to go back to the darktable folder. That is why I gave pwd
and told you to note the directory you are in at that moment.
The moment the highlight-recovery code is accepted and in the main darktable repository, you should change the git clone
command to make a clone from the official darktable repo, and you then can forget about the git checkout
command to switch branches, it’s not needed at that point.
But for now, the most simple way to get up and running from scratch is to install msys2, do all the pacman commands as stated in the build instructions, change the .bash_profile
file as stated in the build instructions… now close the mingw64 session, start it again, and start typing the commands I listed.
Since your level of git understanding, this seems to be a perfectly valid and simple way to get the highlight recovery code locally and build it. Since you are just building it a few times, this is fine. In my opinion.