Darktable windows build help needed

What you did is correct.

For the specific error with graphicsmagick I have submitted a PR 3 month ago, but has been never merged (I really don’t know why).

You can check and apply it I believe :

https://github.com/darktable-org/darktable/pull/1684